Skip to content

Commit

Permalink
fix enable-leader-election overriden by patch.
Browse files Browse the repository at this point in the history
when `manager_auth_proxy_patch` is enabled, the
`--enable-leader-election` arg inside `manager/manager.yaml` will be
overriden.
  • Loading branch information
youyongsong committed Jun 28, 2019
1 parent a03ef64 commit 056e403
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scaffold/v2/metricsauth/kustomize_auth_proxy_patch.go
Expand Up @@ -64,4 +64,5 @@ spec:
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election"
`
Expand Up @@ -22,3 +22,4 @@ spec:
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election"

0 comments on commit 056e403

Please sign in to comment.