Skip to content

Commit

Permalink
Follow-up to PR kubernetes-sigs#4243: Limit permissions to access the…
Browse files Browse the repository at this point in the history
… metrics-server-cert secret

This change ensures that only the necessary permissions are granted for accessing the metrics-server-cert secret. Note that setting defaultMode: 420 is not required.
  • Loading branch information
camilamacedo86 committed Nov 10, 2024
1 parent ad4afdb commit 04a3f80
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
Original file line number Diff line number Diff line change
Expand Up @@ -7981,7 +7981,6 @@ spec:
secretName: webhook-server-cert
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
---
apiVersion: cert-manager.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,5 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
`
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ spec:
volumes:
- name: metrics-certs
secret:
defaultMode: 420
secretName: metrics-server-cert

0 comments on commit 04a3f80

Please sign in to comment.