You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Cluster's Annotations are referenced ApplicationSet's Template updating the cluster's annotation doesn't trigger a Sync for the generated Applications.
I use Cluster's Annotation (accessible via ApplicationSets Cluster Generator) to pass data from Terraform to ArgoCD.
The values of some annotations are fed into Helm's valuesObject.
When a cluster annotation is updated, it doesn't trigger a sync of the generated applications unless you manually sync each app.
To Reproduce
Register a K8S Cluster to ArgoCD and add a key=value annotation.
Create an ApplicationSet and use Cluster Generator to discover the registered cluster.
Using Cluster Generators values: read the annotation into a variable using {{index .metadata.annotations "<annotation key>"}}
Use the extracted Variable in a Helm Chart valuesObject.
Apply the Application Set and wait for the generated Application to Sync.
Update the Cluster Secret and modify the value of the annotation.
Expected behavior
A Sync is triggered since the Annotation Value changed and will change the resulting k8s manifests.
Describe the bug
When Cluster's Annotations are referenced ApplicationSet's Template updating the cluster's annotation doesn't trigger a Sync for the generated Applications.
I use Cluster's Annotation (accessible via ApplicationSets Cluster Generator) to pass data from Terraform to ArgoCD.
The values of some annotations are fed into Helm's valuesObject.
When a cluster annotation is updated, it doesn't trigger a sync of the generated applications unless you manually sync each app.
To Reproduce
values:
read the annotation into a variable using{{index .metadata.annotations "<annotation key>"}}
valuesObject
.Expected behavior
A Sync is triggered since the Annotation Value changed and will change the resulting k8s manifests.
Version
The text was updated successfully, but these errors were encountered: