Add quoting to sysctls because numeric values need to be presented as strings (#5823)

This commit is contained in:
Tobias Wolf 2020-07-01 16:02:26 +02:00 committed by GitHub
parent ff60aa9e2b
commit c56baf6b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v1 apiVersion: v1
name: ingress-nginx name: ingress-nginx
version: 2.9.0 version: 2.9.1
appVersion: 0.33.0 appVersion: 0.33.0
home: https://github.com/kubernetes/ingress-nginx home: https://github.com/kubernetes/ingress-nginx
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer

View file

@ -51,8 +51,8 @@ spec:
{{- if .Values.controller.sysctls }} {{- if .Values.controller.sysctls }}
sysctls: sysctls:
{{- range $sysctl, $value := .Values.controller.sysctls }} {{- range $sysctl, $value := .Values.controller.sysctls }}
- name: {{ $sysctl }} - name: {{ $sysctl | quote }}
value: {{ $value }} value: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
containers: containers:

View file

@ -55,8 +55,8 @@ spec:
{{- if .Values.controller.sysctls }} {{- if .Values.controller.sysctls }}
sysctls: sysctls:
{{- range $sysctl, $value := .Values.controller.sysctls }} {{- range $sysctl, $value := .Values.controller.sysctls }}
- name: {{ $sysctl }} - name: {{ $sysctl | quote }}
value: {{ $value }} value: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
containers: containers: