shellcheck
reports an error for line 35 in /usr/local/bin/gitea
I think it might be related to the problem.
https://github.com/go-gitea/gitea/blob/main/docker/rootless/usr/local/bin/gitea#L3…
My suspicion comes from docker run -e GITEA_APP_INI="/etc/gitea/app-special.ini" gitea/gitea:1.16-dev-rootless does exactly the right thing.
It works because docker-entrypoint.sh
passes the…
From what I've seen, there's no problem with helm chart setting the GITEA_APP_INI env var.
here's the minimal sample to demonstrate the extra single quotes added by bash:
#!/usr/bin…
The problem is related to the code below in /usr/local/bin/gitea
:
https://github.com/go-gitea/gitea/blob/main/docker/rootless/usr/local/bin/gitea#L35
....
....
if [ -z "$APP_INI_SET"…
Would also like to mention this one:
Imaging setting the subpath to git/.ssh
What will happen is the that PV:/git/.ssh
will become POD:/data
. We do not alter the mount points inside pod.…
And you are right: if subPath
does not exist, k8s will create it asroot
and it will likely cause some troubles for the app.
However, PV allocation is a task for k8s cluster admins and if they…
Hi!
What was the intention to add the subpath?
In my situation there are multiple PVs pointing into the same NFS share. Different deployments can store their files in different directories by…