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

Only update Argo CD Cluster secret if the values have changed #1648

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

jgwest
Copy link
Member

@jgwest jgwest commented Jan 27, 2025

What type of PR is this?

/kind bug

What does this PR do / why we need it:

Currently, the Argo CD operator will update the default cluster Secret after every reconcile, regardless of whether or not the .data.namespaces field has actually changed.

This PR updates the logic to only update .data.namespaces if the field has changed.

@Rizwana777
Copy link
Contributor

minor typo, LGTM

@jgwest jgwest force-pushed the improve-secret-creation branch from c57cabc to dd56e60 Compare January 29, 2025 05:08
@jgwest
Copy link
Member Author

jgwest commented Jan 29, 2025

Thanks @Rizwana777!

@jgwest jgwest merged commit 5cce9ce into argoproj-labs:master Jan 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants