Use apply instead of sync in ci
This commit is contained in:
parent
f4cbb2b5c5
commit
3a7df6e695
@ -16,7 +16,7 @@ steps:
|
|||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
||||||
- helmfile -e $ENVIRONMENT diff --suppress-secrets
|
- helmfile -e $ENVIRONMENT diff --suppress-secrets
|
||||||
sync:
|
apply:
|
||||||
image: ghcr.io/helmfile/helmfile:canary
|
image: ghcr.io/helmfile/helmfile:canary
|
||||||
secrets: [sops_age_key, kubeconfig_content]
|
secrets: [sops_age_key, kubeconfig_content]
|
||||||
when:
|
when:
|
||||||
@ -26,4 +26,4 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.kube
|
- mkdir $HOME/.kube
|
||||||
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
||||||
- helmfile -e $ENVIRONMENT sync
|
- helmfile -e $ENVIRONMENT apply
|
||||||
|
Reference in New Issue
Block a user