Skip to content

Add annotations to operator deployment #148

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

Merged

Conversation

kanor1306
Copy link
Contributor

Hi!

This PR adds annotations configuration for the operator Deployment resource.

Main use case is that when using an externally rotating secret (i.e. Managed secrets in AWS RDS that rotate every 7 days) there is the need to make the operator read the new secret. For this I use the Reloader, which requires you to annotate the deployment with the secret that it should be monitoring to decide if the deployment needs to be restarted.

I have followed the same pattern as podAnnotations for consistentcy.

I am not bumping any version, but let me know if I should bump the chart version or it is something that you do when releasing.

Thanks for all the good work in this operator!

@Demmyart
Copy link

+1 request for merging this

@pcallewaert
Copy link
Contributor

@hitman99 Looks good, can we get this merged?

@hitman99
Copy link
Member

hitman99 commented Apr 3, 2025

LGTM 👍

@pcallewaert pcallewaert merged commit 31c8947 into movetokube:master Apr 4, 2025
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.

4 participants