Skip to content

Commit

Permalink
security context added
Browse files Browse the repository at this point in the history
  • Loading branch information
vktrbrlv committed Jul 15, 2024
1 parent 66fab86 commit 1c33be2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/app-mendix/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: app-mendix
version: 3.0.3
version: 3.0.4
description: Mendix Application Chart.
icon: https://cinaq.github.io/helm-charts/icons/mendix-logo.png
maintainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/app-mendix/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if .Values.podSecurityContext }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
5 changes: 5 additions & 0 deletions charts/app-mendix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ image:
imagePullSecrets:
- name: dockerconfigjson

podSecurityContext: {}
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000

licenseId:
licenseKey:

Expand Down

0 comments on commit 1c33be2

Please sign in to comment.