Sign inSign up

coinlion/drone-kubectl

By coinlion

•Updated over 7 years ago

Image
0

2.2K

coinlion/drone-kubectl repository overview

⁠drone-kubectl

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

⁠Required Environment Values

  • KUBERNETES_SERVER: FQDN of Kubernetes API
  • KUBERNETES_CERT_PATH: full path to CA cert
  • KUBERNETES_TOKEN_PATH: full path to service account token

Tag summary

Content type

Image

Digest

Size

20.9 MB

Last updated

over 7 years ago

docker pull coinlion/drone-kubectl