Fix permissions on external mounts (#144)
Co-authored-by: luhahn <[email protected]> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/144 Reviewed-by: Lunny Xiao <[email protected]> Reviewed-by: Andrew Thornton <[email protected]> Co-authored-by: luhahn <[email protected]> Co-committed-by: luhahn <[email protected]>
This commit is contained in:
@@ -16,6 +16,7 @@ stringData:
|
|||||||
# END: initPreScript
|
# END: initPreScript
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
chown 1000:1000 /data
|
||||||
mkdir -p /data/git/.ssh
|
mkdir -p /data/git/.ssh
|
||||||
chmod -R 700 /data/git/.ssh
|
chmod -R 700 /data/git/.ssh
|
||||||
mkdir -p /data/gitea/conf
|
mkdir -p /data/gitea/conf
|
||||||
|
|||||||
Reference in New Issue
Block a user