updates readme
This commit is contained in:
parent
b179f70e0b
commit
7ec8267de5
18
README.md
18
README.md
|
@ -52,8 +52,26 @@ This more complex example demonstrates how to deploy to several environments bas
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
pipeline:
|
pipeline:
|
||||||
|
deploy-qa:
|
||||||
|
image: quay.io/honestbee/drone-kubernetes
|
||||||
|
kubernetes_user: ${KUBERNETES_USER}
|
||||||
|
kubernetes_server: ${KUBERNETES_SERVER_STAGING}
|
||||||
|
kubernetes_cert: ${KUBERNETES_CERT_STAGING}
|
||||||
|
kubernetes_client_cert: ${PLUGIN_KUBERNETES_CLIENT_CERT}
|
||||||
|
kubernetes_client_key: ${PLUGIN_KUBERNETES_CLIENT_KEY}
|
||||||
|
deployment: my-deployment
|
||||||
|
repo: myorg/myrepo
|
||||||
|
container: my-container
|
||||||
|
namespace: app
|
||||||
|
tag:
|
||||||
|
- mytag
|
||||||
|
- latest
|
||||||
|
when:
|
||||||
|
branch: [ qa ]
|
||||||
|
|
||||||
deploy-staging:
|
deploy-staging:
|
||||||
image: quay.io/honestbee/drone-kubernetes
|
image: quay.io/honestbee/drone-kubernetes
|
||||||
|
kubernetes_user: ${KUBERNETES_USER}
|
||||||
kubernetes_server: ${KUBERNETES_SERVER_STAGING}
|
kubernetes_server: ${KUBERNETES_SERVER_STAGING}
|
||||||
kubernetes_cert: ${KUBERNETES_CERT_STAGING}
|
kubernetes_cert: ${KUBERNETES_CERT_STAGING}
|
||||||
kubernetes_token: ${KUBERNETES_TOKEN_STAGING}
|
kubernetes_token: ${KUBERNETES_TOKEN_STAGING}
|
||||||
|
|
Loading…
Reference in New Issue