Replies: 1 comment
-
I experienced same issue. I solved this issue by changing ServerSideApply at apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: app-demo
namespace: continuous-system
spec:
generators:
- list:
elements:
- deployTier: dev
targetRevision: feature-0b154b
template:
metadata:
name: "app-demo-{{deployTier}}"
namespace: continuous-system
spec:
project: pf
destination:
namespace: insight
server: "https://kubernetes.default.svc"
source:
chart: app-demo
repoURL: "https://privates/repository/helm-hosted"
targetRevision: "{{targetRevision}}"
plugin:
name: avp-helm
env:
- name: HELM_ARGS
value: -f values-{{deployTier}}.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
retry:
limit: 3
backoff:
duration: 5s
factor: 2
maxDuration: 3m
syncOptions:
- ServerSideApply=false #-- to false |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying out Argo Rollout with ArgoCD.
The Canary strategy seems fine, however the BlueGreen strategy, used with "autoPromotionEnabled: false", ArgoCD/Argo Rollout promotes the preview upon "sync", without any confirmation. It seems like the "autoPromotionEnabled: false" is disregarded.
If I test Argo Rollout in minikube, using helm to deploy, I can verify that the Rollout waits for Promote action, either via dashboard or "kubectl argo rollouts promote APP", as expected.
Like this:
But, in our cluster, after an ArgoCD "sync", the preview is fully promoted without any questions with this result:
I have search the Argo Rollout logs and found, in minikube, these log events occurs:
While in our cluster, no such events are seen. Which component is responsible for Pausing the Deployment?
Extract of my Rollout object:
I would expect ArgoCD/Argo-Rollout to respect the "autoPromotionEnabled: false" flag, thus not promoting the "preview" until told so.
I know about the Analysis concept in BlueGreen, and will probably adopt to that in the future.
So, my question is: how is it possible to not automatically promote "preview" when ArgoCD/Argo-Rollout is used?
Beta Was this translation helpful? Give feedback.
All reactions