Skip to content

Commit

Permalink
auth proxy port fix
Browse files Browse the repository at this point in the history
Signed-off-by: rakeshgm <[email protected]>
  • Loading branch information
rakeshgm authored and ShyamsundarR committed Mar 13, 2023
1 parent dd49f9d commit c49fecf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ spec:
image: kube-rbac-proxy
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--upstream=http://127.0.0.1:9289/"
- "--logtostderr=true"
- "--v=10"
ports:
- containerPort: 9289
- containerPort: 8443
name: https
resources:
limits:
Expand Down
4 changes: 0 additions & 4 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ spec:
image: controller
imagePullPolicy: IfNotPresent
name: manager
ports:
- containerPort: 9289
env:
- name: PORT
value: "9289"
- name: POD_NAMESPACE
valueFrom:
fieldRef:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
ports:
- name: https
port: 9289
targetPort: 9289
port: 8443
targetPort: https
selector:
control-plane: controller-manager
2 changes: 1 addition & 1 deletion examples/dr_cluster_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: RamenConfig
health:
healthProbeBindAddress: :8081
metrics:
bindAddress: 127.0.0.1:8080
bindAddress: 127.0.0.1:9289
webhook:
port: 9443
leaderElection:
Expand Down

0 comments on commit c49fecf

Please sign in to comment.