21 lines
485 B
YAML
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
|