File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ Build the args for the service binary.
292292{ {- if .Values.controller.globalConfiguration.create } }
293293- -global-configuration=$(POD_NAMESPACE)/{ { include " nginx-ingress.controller.fullname" . } }
294294{ {- else } }
295- { {- if .Values.controller.globalConfigurationCustomName } }
296- - -global-configuration={ { .Values.controller.globalConfigurationCustomName } }
295+ { {- if .Values.controller.globalConfiguration.customName } }
296+ - -global-configuration={ { .Values.controller.globalConfiguration.customName } }
297297{ {- end } }
298298{ {- end } }
299299{ {- end } }
Original file line number Diff line number Diff line change 972972 false
973973 ]
974974 },
975+ "customName" : {
976+ "type" : " string" ,
977+ "default" : " " ,
978+ "title" : " The customName Schema" ,
979+ "examples" : [
980+ " the-namespace/the-name-of-the-global-configuration-custom-resource"
981+ ]
982+ },
975983 "spec" : {
976984 "type" : " object" ,
977985 "default" : {},
10421050 }
10431051 ]
10441052 },
1045- "globalConfigurationCustomName" : {
1046- "type" : " string" ,
1047- "default" : " " ,
1048- "title" : " The globalConfigurationCustomName" ,
1049- "examples" : [
1050- " the-namespace/the-name-of-the-global-configuration-custom-resource"
1051- ]
1052- },
10531053 "enableSnippets" : {
10541054 "type" : " boolean" ,
10551055 "default" : false ,
Original file line number Diff line number Diff line change @@ -362,6 +362,9 @@ controller:
362362 # # Creates the GlobalConfiguration custom resource. Requires controller.enableCustomResources.
363363 create : false
364364
365+ # # customName: "the-namespace/the-name-of-the-global-configuration-custom-resource"
366+ # # The name of the GlobalConfiguration custom resource to use instead of the one provided by default when create is set to false.
367+
365368 # # The spec of the GlobalConfiguration for defining the global configuration parameters of the Ingress Controller.
366369 spec : {} # # Ensure both curly brackets are removed when adding listeners in YAML format.
367370 # listeners:
@@ -372,9 +375,6 @@ controller:
372375 # port: 5353
373376 # protocol: TCP
374377
375- # # globalConfigurationCustomName: "the-namespace/the-name-of-the-global-configuration-custom-resource"
376- # # The name of the GlobalConfiguration custom resource to use instead of the one provided by default when controller.globalConfiguration.create is set to false.
377-
378378 # # Enable custom NGINX configuration snippets in Ingress, VirtualServer, VirtualServerRoute and TransportServer resources.
379379 enableSnippets : false
380380
You can’t perform that action at this time.
0 commit comments