give gitea user more permissions over /data (#1077)
This commit is contained in:
parent
1eb46b4fb7
commit
8b65797b12
|
@ -34,4 +34,4 @@ sources:
|
|||
- https://github.com/go-gitea/gitea
|
||||
- https://hub.docker.com/r/gitea/gitea/
|
||||
type: application
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
|
|
|
@ -169,7 +169,7 @@ stringData:
|
|||
|
||||
# Copy config file to writable volume
|
||||
cp /etc/gitea/conf/app.ini /data/gitea/conf/app.ini
|
||||
chown -Rf {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} "/data/gitea"
|
||||
chown -Rf {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} "/data"
|
||||
chmod a+rwx /data/gitea/conf/app.ini
|
||||
|
||||
# Patch dockercontainer for dynamic users
|
||||
|
|
Loading…
Reference in New Issue