29 lines
760 B
YAML
29 lines
760 B
YAML
---
|
|
# ----------------------------------------------
|
|
# -- Helmfile apply changes
|
|
# ----------------------------------------------
|
|
kind: pipeline
|
|
type: kubernetes
|
|
name: Apply helmfile changes
|
|
|
|
steps:
|
|
- name: Diff badhouseplants
|
|
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 badhouseplants diff
|
|
|
|
- name: Diff eterosoft
|
|
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 eterosoft diff
|