Skip to content

Commit cfa058d

Browse files
Updated automounttoken setting for helm chart
1 parent 6746a05 commit cfa058d

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

deployments/helm-chart/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ Parameter | Description | Default
169169
`controller.wildcardTLS.cert` | The base64-encoded TLS certificate for every Ingress/VirtualServer host that has TLS enabled but no secret specified. If the parameter is not set, for such Ingress/VirtualServer hosts NGINX will break any attempt to establish a TLS connection. | None
170170
`controller.wildcardTLS.key` | The base64-encoded TLS key for every Ingress/VirtualServer host that has TLS enabled but no secret specified. If the parameter is not set, for such Ingress/VirtualServer hosts NGINX will break any attempt to establish a TLS connection. | None
171171
`controller.wildcardTLS.secret` | The secret with a TLS certificate and key for every Ingress/VirtualServer host that has TLS enabled but no secret specified. The value must follow the following format: `<namespace>/<name>`. Used as an alternative to specifying a certificate and key using `controller.wildcardTLS.cert` and `controller.wildcardTLS.key` parameters. | None
172-
`controller.automountServiceAccountToken` | The toggle for automountServiceAccountToken for the Ingress Controller. | true
173172
`controller.nodeSelector` | The node selector for pod assignment for the Ingress Controller pods. | {}
174173
`controller.terminationGracePeriodSeconds` | The termination grace period of the Ingress Controller pod. | 30
175174
`controller.tolerations` | The tolerations of the Ingress Controller pods. | []

deployments/helm-chart/templates/controller-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
{{- end }}
3939
spec:
4040
serviceAccountName: {{ include "nginx-ingress.serviceAccountName" . }}
41-
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
41+
automountServiceAccountToken: true
4242
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
4343
{{- if .Values.controller.nodeSelector }}
4444
nodeSelector:

deployments/helm-chart/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
priorityClassName: {{ .Values.controller.priorityClassName }}
7171
{{- end }}
7272
serviceAccountName: {{ include "nginx-ingress.serviceAccountName" . }}
73-
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
73+
automountServiceAccountToken: true
7474
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
7575
hostNetwork: {{ .Values.controller.hostNetwork }}
7676
containers:

deployments/helm-chart/values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ controller:
100100
## Format: <namespace>/<secret_name>
101101
secret:
102102

103-
## The option to toggle automountServiceAccountToken at the pod level.
104-
automountServiceAccountToken: true
105-
106103
## The node selector for pod assignment for the Ingress Controller pods.
107104
nodeSelector: {}
108105

docs/content/installation/installation-with-helm.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ The following tables lists the configurable parameters of the NGINX Ingress Cont
172172
|``controller.wildcardTLS.cert`` | The base64-encoded TLS certificate for every Ingress/VirtualServer host that has TLS enabled but no secret specified. If the parameter is not set, for such Ingress/VirtualServer hosts NGINX will break any attempt to establish a TLS connection. | None |
173173
|``controller.wildcardTLS.key`` | The base64-encoded TLS key for every Ingress/VirtualServer host that has TLS enabled but no secret specified. If the parameter is not set, for such Ingress/VirtualServer hosts NGINX will break any attempt to establish a TLS connection. | None |
174174
|``controller.wildcardTLS.secret`` | The secret with a TLS certificate and key for every Ingress/VirtualServer host that has TLS enabled but no secret specified. The value must follow the following format: ``<namespace>/<name>``. Used as an alternative to specifying a certificate and key using ``controller.wildcardTLS.cert`` and ``controller.wildcardTLS.key`` parameters. | None |
175-
|``controller.automountServiceAccountToken`` | Setting automountServiceAccountToken at the pod level | true
176175
|``controller.nodeSelector`` | The node selector for pod assignment for the Ingress Controller pods. | {} |
177176
|``controller.terminationGracePeriodSeconds`` | The termination grace period of the Ingress Controller pod. | 30 |
178177
|``controller.tolerations`` | The tolerations of the Ingress Controller pods. | [] |

0 commit comments

Comments
 (0)