Skip to content

Commit

Permalink
Update health address in manager’s auth proxy patch
Browse files Browse the repository at this point in the history
This is related to upgrade operator-sdk to v1.6.0:

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.6.0/

operator-framework/operator-sdk#4654

Signed-off-by: Wayne Sun <gsun@redhat.com>
  • Loading branch information
waynesun09 committed Apr 22, 2021
1 parent 3c02369 commit ce5c1d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,9 @@ spec:
spec:
containers:
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
- --health-probe-bind-address=:6789
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=reportportal-operator
env:
- name: ANSIBLE_GATHERING
Expand Down
9 changes: 5 additions & 4 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
spec:
containers:
- name: kube-rbac-proxy
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
Expand All @@ -21,6 +21,7 @@ spec:
name: https
- name: manager
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election"
- "--leader-election-id=reportportal-operator"
- "--health-probe-bind-address=:6789"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--leader-election-id=memcached-operator"
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
containers:
- name: manager
args:
- "--enable-leader-election"
- "--leader-elect"
- "--leader-election-id=reportportal-operator"
env:
- name: ANSIBLE_GATHERING
Expand Down

0 comments on commit ce5c1d0

Please sign in to comment.