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