Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common/thanos: set default user to 0 (root) #5855

Merged
merged 1 commit into from Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/thanos/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: thanos
description: Deploy Thanos via operator
type: application
version: 0.6.11
version: 0.6.12
appVersion: v0.32.5
maintainers:
- name: Tommy Sauer (viennaa)
Expand Down
4 changes: 4 additions & 0 deletions common/thanos/templates/thanos-objectstore.yaml
Expand Up @@ -49,6 +49,10 @@ spec:
requests:
ephemeral-storage: {{ $.Values.compactor.resources.requests.ephemeralStorage }}
{{- end }}
securityContext:
fsGroup: 0
runAsGroup: 0
runAsUser: 0
{{ end }}
{{ end }}
{{ end }}
8 changes: 8 additions & 0 deletions common/thanos/templates/thanos.yaml
Expand Up @@ -64,6 +64,10 @@ spec:
{{- end }}
- name: sd-config
mountPath: /conf/sd
securityContext:
fsGroup: 0
runAsGroup: 0
runAsUser: 0
volumes:
{{- if $.Values.authentication.enabled }}
- name: client-certificate
Expand Down Expand Up @@ -97,6 +101,10 @@ spec:
containers:
- image: {{ include "thanosimage" $root }}
name: store
securityContext:
fsGroup: 0
runAsGroup: 0
runAsUser: 0
{{- end }}
{{- end }}
{{- end }}