diff --git a/templates/gitea/statefulset.yaml b/templates/gitea/statefulset.yaml index e73cc3e..78a0b18 100644 --- a/templates/gitea/statefulset.yaml +++ b/templates/gitea/statefulset.yaml @@ -80,6 +80,8 @@ spec: value: /data - name: GITEA_TEMP value: /tmp/gitea + - name: TMPDIR + value: /tmp/gitea {{- if .Values.statefulset.env }} {{- toYaml .Values.statefulset.env | nindent 12 }} {{- end }} @@ -137,7 +139,7 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} volumeMounts: - name: temp - mountPath: /tmp/gitea + mountPath: /tmp - name: data mountPath: /data {{- if .Values.extraVolumeMounts }} diff --git a/values.yaml b/values.yaml index a04e765..dc73b04 100644 --- a/values.yaml +++ b/values.yaml @@ -8,12 +8,13 @@ clusterDomain: cluster.local image: repository: gitea/gitea - tag: 1.14.1 + tag: 1.14.2 pullPolicy: Always rootless: false # only possible when running 1.14 or later imagePullSecrets: [] +# only usable with rootless image due to image design securityContext: {} # allowPrivilegeEscalation: false # capabilities: