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

enhance: skip updating secret if no change #274

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

jenting
Copy link
Contributor

@jenting jenting commented Jul 22, 2024

Fixes #273

Skip updating the k8s secret is the secret does not change.
This could decrease the number of kube-apiserver Update API call.

@jenting jenting force-pushed the compare branch 3 times, most recently from 3f4571a to dd188f0 Compare July 22, 2024 22:44
@jenting
Copy link
Contributor Author

jenting commented Jul 22, 2024

@ricoberger PTAL

@ricoberger ricoberger added the changelog: changed Something was changed or updated label Jul 24, 2024
@ricoberger
Copy link
Owner

Hi @jenting thanks for your contribution 🙂, it makes totally sense to skip the update if nothing was changed 👍

@ricoberger ricoberger merged commit 6bb39aa into ricoberger:main Jul 24, 2024
7 checks passed
@jenting jenting deleted the compare branch July 24, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: changed Something was changed or updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check secret resource is changed before updating it
2 participants