run helm and kubectl commands in drone.
5.2K
Drone kubectl and helm plugin. Set Up a Drone CI/CD pipeline with Kubernetes https://akomljen.com/set-up-a-drone-ci-cd-pipeline-with-kubernetes
HELM_VERSION 和 KUBECTL_VERSION 重新指定客户端版本KUBECTL_CONFIG环境变量,将直接将其写入到~/.kube/config然后退出。脚本中会对KUBECTL_CONFIG在进行一次base64解码。如果使用k8s secret 存储,意味着你要对原值进行两次base64编码。KUBERNETES_TOKEN # token 必须
KUBERNETES_CERT # 如果集群允许,证书留空将使用不安全的连接
KUBERNETES_SERVER # api server 地址,必须。
PLUGIN_KUBECTL的值指定初始化完成后运行的 kubectl 命令。PLUGIN_HELM的值指定初始化完成后运行的 helm 命令。Content type
Image
Digest
Size
80.1 MB
Last updated
over 5 years ago
docker pull tttlkkkl/drone-helm