Improve support for gitea instances not running as root or uid 1000 #266

Merged
luhahn merged 1 commits from nmasse-itix/helm-chart:no-chown into master 2021-12-23 10:50:57 +00:00

View File

@ -30,7 +30,9 @@ stringData:
# prepare temp directory structure
mkdir -p "${GITEA_TEMP}"
{{- if not .Values.image.rootless }}
chown 1000:1000 "${GITEA_TEMP}"
{{- end }}
chmod ug+rwx "${GITEA_TEMP}"
configure_gitea.sh: |-