From 54ea552d391ae9e0db3a184a4688b495927d0735 Mon Sep 17 00:00:00 2001 From: Robert Munteanu Date: Tue, 16 Feb 2021 22:16:57 +0100 Subject: [PATCH] helm chart: fix leader election flag env var values need to be string, not boolean. --- charts/nfs-subdir-external-provisioner/Chart.yaml | 2 +- .../nfs-subdir-external-provisioner/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/nfs-subdir-external-provisioner/Chart.yaml b/charts/nfs-subdir-external-provisioner/Chart.yaml index bca7167f..97730385 100644 --- a/charts/nfs-subdir-external-provisioner/Chart.yaml +++ b/charts/nfs-subdir-external-provisioner/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 4.0.0 description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes. name: nfs-subdir-external-provisioner home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner -version: 4.0.1 +version: 4.0.2 kubeVersion: ">=1.9.0-0" sources: - https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner diff --git a/charts/nfs-subdir-external-provisioner/templates/deployment.yaml b/charts/nfs-subdir-external-provisioner/templates/deployment.yaml index 75519915..d8107f3f 100644 --- a/charts/nfs-subdir-external-provisioner/templates/deployment.yaml +++ b/charts/nfs-subdir-external-provisioner/templates/deployment.yaml @@ -57,7 +57,7 @@ spec: value: {{ .Values.nfs.path }} {{- if eq .Values.leaderElection.enabled false }} - name: ENABLE_LEADER_ELECTION - value: false + value: "false" {{- end }} {{- with .Values.resources }} resources: