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 c3624a9 commit 450444f
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-azure/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: steadybit-extension-azure
description: Steadybit scaffold extension Helm chart for Kubernetes.
version: 1.0.7
version: 1.0.8
appVersion: latest
home: https://www.steadybit.com/
icon: https://steadybit-website-assets.s3.amazonaws.com/logo-symbol-transparent.png
Expand Down
4 changes: 4 additions & 0 deletions charts/steadybit-extension-azure/templates/deployment.yaml
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-azure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,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 450444f

Please sign in to comment.