Skip to content

Commit

Permalink
Renaming auth-proxy port to metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Vlasov committed Oct 29, 2024
1 parent 5c00760 commit 45776bc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions src/config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ spec:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
drop: [ALL]
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
args:
- --secure-listen-address=0.0.0.0:8443
Expand All @@ -23,11 +22,11 @@ spec:
ports:
- containerPort: 8443
protocol: TCP
name: https
name: metrics
resources:
limits:
cpu: 500m
memory: 128Mi
cpu: 100m
memory: 50Mi
requests:
cpu: 5m
memory: 64Mi
memory: 20Mi
4 changes: 2 additions & 2 deletions src/config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
spec:
endpoints:
- path: /metrics
port: https
scheme: https
port: metrics
scheme: metrics
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
Expand Down
6 changes: 3 additions & 3 deletions src/config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: metrics
spec:
ports:
- name: https
port: 8443
- name: metrics
port: 443
protocol: TCP
targetPort: https
targetPort: metrics

0 comments on commit 45776bc

Please sign in to comment.