This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
k8s-cluster-config/.drone.yml
2023-02-18 18:44:13 +01:00

21 lines
485 B
YAML

---
# ----------------------------------------------
# -- Helmfile apply changes
# ----------------------------------------------
kind: pipeline
type: kubernetes
name: Apply helmfile changes
steps:
- name: Diff helmfiles
image: ghcr.io/helmfile/helmfile:canary
environment:
KUBECONFIG:
from_secret: KUBECONFIG
commands:
- mkdir $HOME/.kube
- echo $KUBECONFIG | base64 -d > $HOME/.kube/config
- cat $HOME/.kube/config
- helmfile -e badhouseplants diff