mirror of
https://github.com/danielgormly/drone-plugin-kube.git
synced 2026-06-04 18:23:48 +08:00
Minor updates
This commit is contained in:
@@ -18,9 +18,8 @@ Add the following [build step](https://docs.drone.io/user-guide/pipeline/steps/)
|
||||
server: https://10.0.0.20:6443 # K8s master node address
|
||||
token:
|
||||
from_secret: kubernetes_token # Service account token to a service account that can manage deployments
|
||||
namespace: custom # [Optional] Custom namespace. (Defaults to `default`)
|
||||
custom: string # [Optional] Available to be referenced in template rendering as PLUGIN_CUSTOM
|
||||
master_alias: production # [Optional] Custom setting example. Available as PLUGIN_MASTER_ALIAS
|
||||
namespace: custom # [Optional] Kubernetes namespace to use (defaults to `default`)
|
||||
[example_custom_key]: string # [Optional, example] Any additional values you label here will be available for template interpolation (lower case key names only!)
|
||||
```
|
||||
|
||||
## Deployment templates
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
rm -rf build/kubano
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/kubano
|
||||
|
||||
docker build -t danielgormly/drone-plugin-kube:beta2 build
|
||||
docker push danielgormly/drone-plugin-kube:beta2
|
||||
docker build -t danielgormly/drone-plugin-kube build
|
||||
docker push danielgormly/drone-plugin-kube
|
||||
|
||||
Reference in New Issue
Block a user