aleksey.sergey
  • Joined on 2021-12-19
aleksey.sergey commented on issue gitea/helm-chart#287 2022-02-09 15:58:42 +00:00
[Gitea 1.16.0] Unable to find configuration file

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

aleksey.sergey commented on issue gitea/helm-chart#287 2022-02-09 15:53:27 +00:00
[Gitea 1.16.0] Unable to find configuration file

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…

aleksey.sergey commented on issue gitea/helm-chart#287 2022-02-09 15:23:44 +00:00
[Gitea 1.16.0] Unable to find configuration file

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…
aleksey.sergey commented on issue gitea/helm-chart#287 2022-02-09 11:22:11 +00:00
[Gitea 1.16.0] Unable to find configuration file

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"…
aleksey.sergey commented on pull request gitea/helm-chart#263 2021-12-19 23:54:15 +00:00
add support for persistence.subPath option

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.…

aleksey.sergey commented on pull request gitea/helm-chart#263 2021-12-19 23:38:01 +00:00
add support for persistence.subPath option

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…

aleksey.sergey commented on pull request gitea/helm-chart#263 2021-12-19 23:28:44 +00:00
add support for persistence.subPath option

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…

aleksey.sergey pushed to add-persistence-subPath at aleksey.sergey/helm-chart 2021-12-19 22:16:33 +00:00
ae2cb1bb83 minor fixup in README.md to pass CI's markdownlint test
aleksey.sergey created pull request gitea/helm-chart#263 2021-12-19 21:59:01 +00:00
add support for persistence.subPath option
aleksey.sergey created branch add-persistence-subPath in aleksey.sergey/helm-chart 2021-12-19 21:53:27 +00:00
aleksey.sergey pushed to add-persistence-subPath at aleksey.sergey/helm-chart 2021-12-19 21:53:27 +00:00
2d3d526047 add persistence.subPath option
aleksey.sergey created repository aleksey.sergey/helm-chart 2021-12-19 21:52:37 +00:00