Use apply instead of sync in ci

This commit is contained in:
Nikolai Rodionov 2023-11-04 19:57:56 +01:00
parent f4cbb2b5c5
commit 3a7df6e695
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -16,7 +16,7 @@ steps:
- mkdir $HOME/.kube
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
- helmfile -e $ENVIRONMENT diff --suppress-secrets
sync:
apply:
image: ghcr.io/helmfile/helmfile:canary
secrets: [sops_age_key, kubeconfig_content]
when:
@ -26,4 +26,4 @@ steps:
commands:
- mkdir $HOME/.kube
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
- helmfile -e $ENVIRONMENT sync
- helmfile -e $ENVIRONMENT apply