postgres-operator
postgres-operator copied to clipboard
Add annotations to operator deployment
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!
+1 request for merging this