Skip to content

Commit

Permalink
Add possibility to configure a securityContext (#17)
Browse files Browse the repository at this point in the history
* Add possibility to configure a securityContext

* bump version
  • Loading branch information
slallema authored Jul 3, 2021
1 parent 1cf6d6b commit 2ba15ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ spec:
subPath: {{ $key }}
{{- end }}
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- if .Values.configMaps }}
volumes:
- name: config-dir
Expand Down
2 changes: 2 additions & 0 deletions charts/unleash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,5 @@ postgresql:
postgresqlUsername: unleash
# this should be change to something more secure or use an existing secret
postgresqlPassword: unleash

securityContext: {}

0 comments on commit 2ba15ae

Please sign in to comment.