updated DOCS

This commit is contained in:
vallard
2016-12-20 22:12:59 -08:00
parent 6f60330558
commit 19f5597a39
+13 -1
View File
@@ -15,7 +15,7 @@ Basic example:
pipeline:
deploy:
image: vallard/drone-kube
template: deployment.yaml
template: deployment.yaml
```
Example configuration with non-default namespace:
@@ -23,10 +23,22 @@ Example configuration with non-default namespace:
```diff
pipeline:
kube:
image: vallard/drone-kube
template: deployment.yaml
+ namespace: mynamespace
```
You can also specify the server in the configuration as well. It could alternatively be specified as an environment variable as shown in the next section.
```diff
pipeline:
kubernetes:
image: vallard/drone-kube
template: deployment.yaml
+ namespace: mynamespace
+ server: https://10.93.234.28:6433
```
## Secrets
The kube plugin supports reading credentials from the Drone secret store. This is strongly recommended instead of storing credentials in the pipeline configuration in plain text.