mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add securityContext (#9821)
Signed-off-by: olivier beyler <olivier.beyler@orange.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
599d1af253
commit
1dcddd9161
@@ -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
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -332,3 +332,5 @@ postgresql:
|
||||
## Enable PostgreSQL persistence using Persistent Volume Claims.
|
||||
##
|
||||
enabled: true
|
||||
## Security context
|
||||
securityContext: {}
|
||||
|
||||
Reference in New Issue
Block a user