Add support to run gitea with an optional securityContext (#115)

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/115
Reviewed-by: luhahn <luhahn@noreply.gitea.io>
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Co-authored-by: martencassel <martencassel@noreply.gitea.io>
Co-committed-by: martencassel <martencassel@noreply.gitea.io>
This commit is contained in:
martencassel
2021-03-01 20:16:49 +08:00
committed by lafriks
parent 4682597b04
commit 33903d8f6c
3 changed files with 5 additions and 0 deletions

View File

@ -87,6 +87,8 @@ spec:
failureThreshold: 3
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: data
mountPath: /data