Open aqeelat opened 4 months ago
Hi @aqeelat Have you tried the first approach? And why do you have to rename everything?
@aqeelat let us know if you need any further help from our end on this.
Hi @SheryarButt , I am in a similar situation as @aqeelat. From the Reloader documentation it seems like if you go for the first approach it does the config map/ secret discovery by name -> if your deployment is called FOO, it reads from the docs that you NEED secret/confMap named FOO for the Reloader to work. If that's the case, if your config maps and secrets are not named as the Reloaded expects them to be, you would need to rename everything in order to use the first approach. It also would not work if different Deployments are sharing secrets or config map. In that situation, it seems that the only option would be to use approach 2.
Is that so, or does the discovering of which secret/confMaps is used by a Deployment works differently?
Hi @h-mavrodiev The documentation doesn't say that you NEED to have the secret/config map named FOO, it's just an example to make things easier for beginners. We'll update the docs to resolve this ambiguity as well.
For the actual solution, no you don't have to name the secret/config map to be the same as the deployment.
I have a bunch of helm charts deployments, most with their own configmap/secret. I also have a couple of shared secrets and configmaps.
The current configmaps and secrets have the same name as the deployment.
My options:
In my situation, the first option does not seem like a good idea. The third option is very appealing, but are there performance implications? If the third option is out, then reload will be the winning option.