Skip to content

Commit

Permalink
enable leader election by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrodri committed Jul 21, 2020
1 parent 980d36c commit 4fdaee9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/scaffold/ansible/deploy_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
- name: [[.ProjectName]]
# Replace this with the built image name
image: "REPLACE_IMAGE"
args:
- "--enable-leader-election"
- "--leader-election-id=[[.ProjectName]]"
imagePullPolicy: "Always"
volumeMounts:
- mountPath: /tmp/ansible-operator/runner
Expand Down

0 comments on commit 4fdaee9

Please sign in to comment.