From f8bae7f8d8d870b09c16b4b381c865666972be99 Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Tue, 2 Apr 2019 16:57:41 -0400 Subject: [PATCH] update deployment example with new leader election flags --- deploy/kubernetes/deployment.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/deploy/kubernetes/deployment.yaml b/deploy/kubernetes/deployment.yaml index 0ac4ce8e2..fa9459653 100644 --- a/deploy/kubernetes/deployment.yaml +++ b/deploy/kubernetes/deployment.yaml @@ -38,17 +38,12 @@ spec: - "--v=5" - "--csi-address=$(ADDRESS)" - "--leader-election" - - "--leader-election-namespace=$(MY_NAMESPACE)" - - "--leader-election-identity=$(MY_NAME)" + - "--leader-election-type=leases" env: - name: MY_NAME valueFrom: fieldRef: fieldPath: metadata.name - - name: MY_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - name: ADDRESS value: /var/lib/csi/sockets/pluginproxy/mock.socket imagePullPolicy: "IfNotPresent"