From c56baf6b1509cd92e11f290bcf06477ee0af096a Mon Sep 17 00:00:00 2001 From: Tobias Wolf Date: Wed, 1 Jul 2020 16:02:26 +0200 Subject: [PATCH] Add quoting to sysctls because numeric values need to be presented as strings (#5823) --- charts/ingress-nginx/Chart.yaml | 2 +- charts/ingress-nginx/templates/controller-daemonset.yaml | 4 ++-- charts/ingress-nginx/templates/controller-deployment.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/ingress-nginx/Chart.yaml b/charts/ingress-nginx/Chart.yaml index 0d2d64cb22..10b3098455 100644 --- a/charts/ingress-nginx/Chart.yaml +++ b/charts/ingress-nginx/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: ingress-nginx -version: 2.9.0 +version: 2.9.1 appVersion: 0.33.0 home: https://github.com/kubernetes/ingress-nginx description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer diff --git a/charts/ingress-nginx/templates/controller-daemonset.yaml b/charts/ingress-nginx/templates/controller-daemonset.yaml index 94195946b4..32c9762df0 100644 --- a/charts/ingress-nginx/templates/controller-daemonset.yaml +++ b/charts/ingress-nginx/templates/controller-daemonset.yaml @@ -51,8 +51,8 @@ spec: {{- if .Values.controller.sysctls }} sysctls: {{- range $sysctl, $value := .Values.controller.sysctls }} - - name: {{ $sysctl }} - value: {{ $value }} + - name: {{ $sysctl | quote }} + value: {{ $value | quote }} {{- end }} {{- end }} containers: diff --git a/charts/ingress-nginx/templates/controller-deployment.yaml b/charts/ingress-nginx/templates/controller-deployment.yaml index 271ef660f7..fa6686524b 100644 --- a/charts/ingress-nginx/templates/controller-deployment.yaml +++ b/charts/ingress-nginx/templates/controller-deployment.yaml @@ -55,8 +55,8 @@ spec: {{- if .Values.controller.sysctls }} sysctls: {{- range $sysctl, $value := .Values.controller.sysctls }} - - name: {{ $sysctl }} - value: {{ $value }} + - name: {{ $sysctl | quote }} + value: {{ $value | quote }} {{- end }} {{- end }} containers: