Skip to content

Commit

Permalink
update deployment example with new leader election flags
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsykim committed Apr 3, 2019
1 parent 05f4e64 commit f8bae7f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions deploy/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f8bae7f

Please sign in to comment.