Drone plugin to provision Kubernetes services with kubectl.
kind: pipeline
name: default
steps:
- name: kubectl
image: coinlion/drone-kubectl
settings:
kubectl:
- cluster-info # output of `kubectl cluster-info`
- apply -f kubernetes/deployment.yaml # apply kubernetes config yaml
environment:
KUBERNETES_SERVER: https://kubernetes.default.svc:443
KUBERNETES_CERT_PATH: /path/to/ca.cert
KUBERNETES_TOKEN_PATH: /path/to/token
KUBERNETES_SERVER: FQDN of Kubernetes APIKUBERNETES_CERT_PATH: full path to CA certKUBERNETES_TOKEN_PATH: full path to service account tokenContent type
Image
Digest
Size
20.9 MB
Last updated
over 7 years ago
docker pull coinlion/drone-kubectl