File tree Expand file tree Collapse file tree 5 files changed +10
-2
lines changed
templates/admission-webhooks/job-patch Expand file tree Collapse file tree 5 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11apiVersion : v1
22name : ingress-nginx
3- version : 2.1 .0
3+ version : 2.2 .0
44appVersion : 0.32.0
55home : https://github.com/kubernetes/ingress-nginx
66description : Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ Parameter | Description | Default
168168` controller.admissionWebhooks.patch.priorityClassName ` | Priority class for the webhook integration jobs | ` "" `
169169` controller.admissionWebhooks.patch.podAnnotations ` | Annotations for the webhook job pods | ` {} `
170170` controller.admissionWebhooks.patch.nodeSelector ` | Node selector for running admission hook patch jobs | ` {} `
171+ ` controller.admissionWebhooks.patch.tolerations ` | Node taints/tolerations for running admission hook patch jobs | ` [] `
171172` controller.customTemplate.configMapName ` | configMap containing a custom nginx template | ` "" `
172173` controller.customTemplate.configMapKey ` | configMap key containing the nginx template | ` "" `
173174` controller.addHeaders ` | configMap key: value pairs containing [ custom headers] ( https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers ) added before sending response to the client | ` {} `
Original file line number Diff line number Diff line change 4343 serviceAccountName : {{ include "ingress-nginx.fullname" . }}-admission
4444 {{- if .Values.controller.admissionWebhooks.patch.nodeSelector }}
4545 nodeSelector : {{ toYaml .Values.controller.admissionWebhooks.patch.nodeSelector | nindent 8 }}
46+ {{- end }}
47+ {{- if .Values.controller.admissionWebhooks.patch.tolerations }}
48+ tolerations : {{ toYaml .Values.controller.admissionWebhooks.patch.tolerations | nindent 8 }}
4649 {{- end }}
4750 securityContext :
4851 runAsNonRoot : true
Original file line number Diff line number Diff line change 4545 serviceAccountName : {{ include "ingress-nginx.fullname" . }}-admission
4646 {{- if .Values.controller.admissionWebhooks.patch.nodeSelector }}
4747 nodeSelector : {{ toYaml .Values.controller.admissionWebhooks.patch.nodeSelector | nindent 8 }}
48+ {{- end }}
49+ {{- if .Values.controller.admissionWebhooks.patch.tolerations }}
50+ tolerations : {{ toYaml .Values.controller.admissionWebhooks.patch.tolerations | nindent 8 }}
4851 {{- end }}
4952 securityContext :
5053 runAsNonRoot : true
5154 runAsUser : {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
52- {{- end }}
55+ {{- end }}
Original file line number Diff line number Diff line change @@ -367,6 +367,7 @@ controller:
367367 priorityClassName : " "
368368 podAnnotations : {}
369369 nodeSelector : {}
370+ tolerations : []
370371 runAsUser : 2000
371372
372373 metrics :
You can’t perform that action at this time.
0 commit comments