Drone 插件市场 > Dron8s
这是 Drone 的另一个 Kubernetes 插件,它使用动态服务器端应用(Server Side Apply)来实现 CI-CD 流水线 (Pipeline) 的 "kubectl apply -f multi-configs.yaml "parity。
YAML 配置示例
kind: pipeline
type: docker
name: dron8s-out-of-cluster-example
steps:
- name: dron8s
image: ghcr.io/bh90210/dron8s:latest
settings:
yaml: ./config.yaml
kubeconfig:
from_secret: kubeconfig
字段属性说明
yaml
string必填项包含配置的 Yaml
默认值:none
kubeconfig
string可选项需要在集群外使用。如果不存在,插件将默认使用集群内配置。你可以在 ~/.kube/config 下找到 kubeconfig
默认值:none