From e4fa7d57a4f0bb9280d9e6885906db4766cb275b Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 5 Aug 2020 00:56:31 +0100 Subject: [PATCH] Fix Go template specialness --- .../charts/aws-ebs-csi-driver/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kubezero-aws-ebs-csi-driver/charts/aws-ebs-csi-driver/templates/deployment.yaml b/charts/kubezero-aws-ebs-csi-driver/charts/aws-ebs-csi-driver/templates/deployment.yaml index 8cd04c1e..209e8fd5 100644 --- a/charts/kubezero-aws-ebs-csi-driver/charts/aws-ebs-csi-driver/templates/deployment.yaml +++ b/charts/kubezero-aws-ebs-csi-driver/charts/aws-ebs-csi-driver/templates/deployment.yaml @@ -91,7 +91,7 @@ spec: {{- if .Values.enableVolumeScheduling }} - --feature-gates=Topology=true {{- end}} - {{- if gt .Values.replicaCount 1 }} + {{- if gt .Values.replicaCount 1.0 }} - --enable-leader-election - --leader-election-type=leases {{- end}} @@ -106,7 +106,7 @@ spec: args: - --csi-address=$(ADDRESS) - --v=5 - {{- if gt .Values.replicaCount 1 }} + {{- if gt .Values.replicaCount 1.0 }} - --leader-election=true - --leader-election-type=leases {{- end}} @@ -121,7 +121,7 @@ spec: image: {{ printf "%s:%s" .Values.sidecars.snapshotterImage.repository .Values.sidecars.snapshotterImage.tag }} args: - --csi-address=$(ADDRESS) - {{- if gt .Values.replicaCount 1 }} + {{- if gt .Values.replicaCount 1.0 }} - --leader-election=true {{- end}} env: