File tree Expand file tree Collapse file tree 6 files changed +24
-0
lines changed
docs/content/installation Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ Parameter | Description | Default
178
178
` controller.tolerations ` | The tolerations of the Ingress Controller pods. | [ ]
179
179
` controller.affinity ` | The affinity of the Ingress Controller pods. | {}
180
180
` controller.topologySpreadConstraints ` | The topology spread constraints of the Ingress controller pods. | {}
181
+ ` controller.env ` | The additional environment variables to be set on the Ingress Controller pods. | [ ]
181
182
` controller.volumes ` | The volumes of the Ingress Controller pods. | [ ]
182
183
` controller.volumeMounts ` | The volumeMounts of the Ingress Controller pods. | [ ]
183
184
` controller.initContainers ` | InitContainers for the Ingress Controller pods. | [ ]
Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ spec:
136
136
valueFrom :
137
137
fieldRef :
138
138
fieldPath : metadata.name
139
+ {{- if .Values.controller.env }}
140
+ {{ toYaml .Values.controller.env | indent 8 }}
141
+ {{- end }}
139
142
{{- if .Values.nginxServiceMesh.enable }}
140
143
- name : POD_SERVICEACCOUNT
141
144
valueFrom :
Original file line number Diff line number Diff line change @@ -141,6 +141,9 @@ spec:
141
141
valueFrom :
142
142
fieldRef :
143
143
fieldPath : metadata.name
144
+ {{- if .Values.controller.env }}
145
+ {{ toYaml .Values.controller.env | indent 8 }}
146
+ {{- end }}
144
147
{{- if .Values.nginxServiceMesh.enable }}
145
148
- name : POD_SERVICEACCOUNT
146
149
valueFrom :
Original file line number Diff line number Diff line change 460
460
"title" : " The topologySpreadConstraints Schema" ,
461
461
"$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.25.4/_definitions.json#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint"
462
462
},
463
+ "env" : {
464
+ "type" : " array" ,
465
+ "default" : [],
466
+ "title" : " The env Schema" ,
467
+ "items" : {
468
+ "type" : " object" ,
469
+ "$ref" : " https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.25.4/_definitions.json#/definitions/io.k8s.api.core.v1.EnvVar"
470
+ }
471
+ },
463
472
"volumes" : {
464
473
"type" : " array" ,
465
474
"default" : [],
1274
1283
"tolerations" : [],
1275
1284
"affinity" : {},
1276
1285
"topologySpreadConstraints" : {},
1286
+ "env" : [],
1277
1287
"volumes" : [],
1278
1288
"volumeMounts" : [],
1279
1289
"initContainers" : [],
1574
1584
"tolerations" : [],
1575
1585
"affinity" : {},
1576
1586
"topologySpreadConstraints" : {},
1587
+ "env" : [],
1577
1588
"volumes" : [],
1578
1589
"volumeMounts" : [],
1579
1590
"initContainers" : [],
Original file line number Diff line number Diff line change @@ -153,6 +153,11 @@ controller:
153
153
# # The topology spread constraints of the Ingress controller pods.
154
154
# topologySpreadConstraints: {}
155
155
156
+ # # The additional environment variables to be set on the Ingress Controller pods.
157
+ env : []
158
+ # - name: MY_VAR
159
+ # value: myvalue
160
+
156
161
# # The volumes of the Ingress Controller pods.
157
162
volumes : []
158
163
# - name: extra-conf
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ The following tables lists the configurable parameters of the NGINX Ingress Cont
177
177
| `` controller.terminationGracePeriodSeconds `` | The termination grace period of the Ingress Controller pod. | 30 |
178
178
| `` controller.tolerations `` | The tolerations of the Ingress Controller pods. | [ ] |
179
179
| `` controller.affinity `` | The affinity of the Ingress Controller pods. | {} |
180
+ |`` controller.env `` | The additional environment variables to be set on the Ingress Controller pods. | [ ]
180
181
| `` controller.volumes `` | The volumes of the Ingress Controller pods. | [ ] |
181
182
| `` controller.volumeMounts `` | The volumeMounts of the Ingress Controller pods. | [ ] |
182
183
|`` controller.initContainers `` | InitContainers for the Ingress Controller pods. | [ ]
You can’t perform that action at this time.
0 commit comments