Skip to content

Commit

Permalink
feat: do not automount initcontainer service account token
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole authored and TheSpiritXIII committed Aug 15, 2024
1 parent b14b250 commit 564db9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/operator/templates/alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ spec:
components.gke.io/component-name: managed_prometheus
spec:
priorityClassName: gmp-critical
automountServiceAccountToken: false
initContainers:
- name: config-init
image: {{.Values.images.bash.image}}:{{.Values.images.bash.tag}}
Expand Down
1 change: 1 addition & 0 deletions manifests/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ spec:
components.gke.io/component-name: managed_prometheus
spec:
priorityClassName: gmp-critical
automountServiceAccountToken: false
initContainers:
- name: config-init
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240607.00_p0
Expand Down

0 comments on commit 564db9f

Please sign in to comment.