-
Notifications
You must be signed in to change notification settings - Fork 6
Allow reflection of middlemail-rabbitmq secret #44
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
Allow reflection of middlemail-rabbitmq secret #44
Conversation
|
LGTM! Feel free to merge when you're ready! |
|
Since this is a public repo, I think the setup here should not be that opinionated. Could we just pull in some annotations from the values instead? (Like all the bitnami charts do it? e.g., search for "annotations" here: https://github.com/bitnami/charts/tree/main/bitnami/postgresql#parameters) |
|
@saraedum yeah that makes sense, thanks for the review. I have pushed the changes, please let me know if it looks good now. |
|
This change goes in the right direction but I don't think it fixes the issue. The helm hook annotations are not opinionated. They should be kept as they were. The other annotations should usually be redis.secret.annotations and rabbitmq.secret.annotations or something like that. However, they should be empty to give the user a way to inject their own annotations (and not put the opinionated reflector annotation there that is particular to your setup.) |
|
@saraedum Ah, okay. Got your point !! Fixed it now. P.S. I am only touching |
Hi, can you please review again and approve if you feel it looks okay. |
|
I think you misunderstood my point here:
The values file should not ship such annotations. They are too opinionated to be in a chart that others might consider upstream. |
Sorry, I understood your point but I actually forgot to delete them before pushing after testing. |
|
lgtm |
59c86e7 to
13cb300
Compare
13cb300 to
4998823
Compare
Hi, could you please approve and merge? I don't have the permissions to do that. |
This will allow the reflection of
middlemail-rabbitmqsecret in other namespaces.Please note that this annotation will not automatically create this secret in other namespaces but it will allow other namespaces to fetch the latest value from this secret using another annotation, whenever the source secret changes, using reflector operator.