diff --git a/incubator/gogs/Chart.yaml b/incubator/gogs/Chart.yaml index 5fef77abc8..a6feb94e8a 100644 --- a/incubator/gogs/Chart.yaml +++ b/incubator/gogs/Chart.yaml @@ -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 diff --git a/incubator/gogs/templates/deployment.yaml b/incubator/gogs/templates/deployment.yaml index 1ec70ab1b0..c91f6ef9f7 100644 --- a/incubator/gogs/templates/deployment.yaml +++ b/incubator/gogs/templates/deployment.yaml @@ -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 }}" diff --git a/incubator/gogs/values.yaml b/incubator/gogs/values.yaml index 3bfff0d313..2cb5b4191e 100644 --- a/incubator/gogs/values.yaml +++ b/incubator/gogs/values.yaml @@ -332,3 +332,5 @@ postgresql: ## Enable PostgreSQL persistence using Persistent Volume Claims. ## enabled: true +## Security context +securityContext: {}