diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index 9ec39e5..3b9c040 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -16,4 +16,4 @@ sources: - https://github.com/Unleash/unleash-docker - https://github.com/Unleash/helm-charts type: application -version: 2.0.0 +version: 2.1.0 diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index 4f7ae61..1b6fb65 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -99,6 +99,8 @@ spec: subPath: {{ $key }} {{- end }} {{- end }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} {{- if .Values.configMaps }} volumes: - name: config-dir diff --git a/charts/unleash/values.yaml b/charts/unleash/values.yaml index 3e55fbb..4e9bf47 100644 --- a/charts/unleash/values.yaml +++ b/charts/unleash/values.yaml @@ -151,3 +151,5 @@ postgresql: postgresqlUsername: unleash # this should be change to something more secure or use an existing secret postgresqlPassword: unleash + +securityContext: {}