diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index 8137d67..5854c7a 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -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: |-