mirror of
https://github.com/honestbee/drone-kubernetes.git
synced 2025-05-16 00:13:18 +00:00
updates readme
This commit is contained in:
parent
b179f70e0b
commit
7ec8267de5
1 changed files with 28 additions and 10 deletions
18
README.md
18
README.md
|
@ -52,8 +52,26 @@ This more complex example demonstrates how to deploy to several environments bas
|
|||
|
||||
```yaml
|
||||
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:
|
||||
image: quay.io/honestbee/drone-kubernetes
|
||||
kubernetes_user: ${KUBERNETES_USER}
|
||||
kubernetes_server: ${KUBERNETES_SERVER_STAGING}
|
||||
kubernetes_cert: ${KUBERNETES_CERT_STAGING}
|
||||
kubernetes_token: ${KUBERNETES_TOKEN_STAGING}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue