Skip to content

Commit c56baf6

Browse files
authored
Add quoting to sysctls because numeric values need to be presented as strings (#5823)
1 parent ff60aa9 commit c56baf6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

charts/ingress-nginx/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: ingress-nginx
3-
version: 2.9.0
3+
version: 2.9.1
44
appVersion: 0.33.0
55
home: https://github.com/kubernetes/ingress-nginx
66
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer

charts/ingress-nginx/templates/controller-daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ spec:
5151
{{- if .Values.controller.sysctls }}
5252
sysctls:
5353
{{- range $sysctl, $value := .Values.controller.sysctls }}
54-
- name: {{ $sysctl }}
55-
value: {{ $value }}
54+
- name: {{ $sysctl | quote }}
55+
value: {{ $value | quote }}
5656
{{- end }}
5757
{{- end }}
5858
containers:

charts/ingress-nginx/templates/controller-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ spec:
5555
{{- if .Values.controller.sysctls }}
5656
sysctls:
5757
{{- range $sysctl, $value := .Values.controller.sysctls }}
58-
- name: {{ $sysctl }}
59-
value: {{ $value }}
58+
- name: {{ $sysctl | quote }}
59+
value: {{ $value | quote }}
6060
{{- end }}
6161
{{- end }}
6262
containers:

0 commit comments

Comments
 (0)