Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default policy for applicationset controller interferes with policies set by users #3004

Open
banh-gao opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@banh-gao
Copy link

Describe the bug

The default config values for the applicationset controller sets the applicationsetcontroller.policy to sync.

applicationsetcontroller.policy: sync

According to the controller documentation, if this policy is set it takes precedence on the field applicationsSync of the ApplicationSet resources.

This configuration leads to unexpected behavior of the ApplicationSet resources (also reported here).

Related helm chart

argo-cd

Helm chart version

7.6.12

To Reproduce

  1. Install the argocd chart with default values
  2. Create an ApplicationSet with syncPolicy.applicationsSync: create-only
  3. Update the ApplicationSet application definition
  4. The applications are updated, not respecting the policy set in 2.

Expected behavior

Using the default values of the chart should not interfere with the expected behavior applicationsSync specs of ApplicationSet resources.

Screenshots

No response

Additional context

No response

@banh-gao banh-gao added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant