Use apply instead of sync in ci
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user