Skip to content

Commit

Permalink
Merge pull request #33 from oviceinc/feat/disable-auth-proxy
Browse files Browse the repository at this point in the history
Disable kube-auth-proxy
  • Loading branch information
h3poteto authored Jul 4, 2024
2 parents b1071f2 + 22043a5 commit c840299
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ resources:
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus

patchesStrategicMerge:
# patchesStrategicMerge:
# Protect the /metrics endpoint by putting it behind auth.
# If you want your controller-manager to expose the /metrics
# endpoint w/o any authn/z, please comment the following line.
- manager_auth_proxy_patch.yaml
# - manager_auth_proxy_patch.yaml



Expand Down Expand Up @@ -142,3 +142,8 @@ patchesStrategicMerge:
# delimiter: '.'
# index: 1
# create: true

images:
- name: manager
newName: ghcr.io/oviceinc/rollout-optimizer-controller
newTag: v0.1.0
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
- /manager
args:
- --leader-elect
image: controller:latest
image: manager
name: manager
securityContext:
allowPrivilegeEscalation: false
Expand Down
8 changes: 4 additions & 4 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resources:
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
- auth_proxy_service.yaml
- auth_proxy_role.yaml
- auth_proxy_role_binding.yaml
- auth_proxy_client_clusterrole.yaml
# - auth_proxy_service.yaml
# - auth_proxy_role.yaml
# - auth_proxy_role_binding.yaml
# - auth_proxy_client_clusterrole.yaml

0 comments on commit c840299

Please sign in to comment.