Add securityContext (#9821)

Signed-off-by: olivier beyler <olivier.beyler@orange.com>
This commit is contained in:
obeyler
2018-12-08 14:42:22 -08:00
committed by Kubernetes Prow Robot
parent 599d1af253
commit 1dcddd9161
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: 'Gogs: Go Git Service'
name: gogs
version: 0.7.2
version: 0.7.3
appVersion: 0.11.66
home: https://gogs.io/
icon: https://gogs.io/img/favicon.ico
+4
View File
@@ -16,6 +16,10 @@ spec:
labels:
app: {{ template "gogs.fullname" . }}
spec:
{{- with .Values.securityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+2
View File
@@ -332,3 +332,5 @@ postgresql:
## Enable PostgreSQL persistence using Persistent Volume Claims.
##
enabled: true
## Security context
securityContext: {}