Skip to content

Commit

Permalink
feat: make podSecurityContext configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Sep 18, 2023
1 parent cc52e28 commit 2cd21d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/steadybit-extension-prometheus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-extension-prometheus
description: Steadybit Prometheus extension Helm chart for Kubernetes.
version: 1.4.17
version: 1.4.18
appVersion: latest
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.podSecurityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- image: {{ .Values.image.name }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down
3 changes: 3 additions & 0 deletions charts/steadybit-extension-prometheus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ topologySpreadConstraints: []
# affinity -- Affinities to influence pod assignment.
affinity: {}

# podSecurityContext -- SecurityContext to apply to the pod.
podSecurityContext: {}

# extraEnv -- Array with extra environment variables to add to the container
# e.g:
# extraEnv:
Expand Down

0 comments on commit 2cd21d5

Please sign in to comment.