-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
I'm a bit confused as to how the global configuration argument is being set by the Helm chart templates and would appreciate someone explaining to me how it works or if I'm doing something wrong.
When setting controller.globalConfiguration.create to true, the template creates a globalConfiguration custom resource with the contents of the controller.globalConfiguration.spec. The globalConfiguration resource it creates is named using the nginx-ingress.fullname value:
controller-globalconfiguration.yaml template
However when the argument -global-congfiguration is set during the deployment of the controller to tell the controller which globalConfiguration resource to use, it is using nginx-ingress.name:
controller-deployment.yaml template
When I then run the helm to deploy the controller with a globalConfiguration the argument is telling the controller to look for a globalConfiguration resource name that doesn't exist:
Helm created globalConfiguration
Apologies in advance I'm relatively new to Kubernetes and Helm, but is this by design, am I doing something wrong or is there an issue with the templates?
Thanks for your help.