Is there a runnable helm chart for gitea?
I've seen this PR in helm/charts and this "issue" on here but they are both more than one year old and seem dead
Is there somewhere a working helm chart for gitea? or at least a work in progress where I could help/contribute?
If not, should it be maintained on here (go-gitea/gitea) or in the helm/charts repo?
@techknowlogick thanks. It is a nice effort and a good work from @jfelten but IMHO the chart is strangely structured, variables are grouped by type (persistence, resources, images etc) instead of componernt (gitea, postgres..)
Q: Is there a will to get an "official" helm chart for gitea that will be updated with each version of gitea?
If so, should it be maintained side by side the gitea code? in another gitea repository or in the helm/charts repo?
I could find the time to contribute to this as we are about to deploy gitea in OpenShift v4.x
Gitea 鉂わ笍's k8s (we run gitea.com on-top of k8s), and while we don't use Helm, I would be supportive of creating a repo in our org for the helm chart.
Or maybe we should implement a gitea operator?
@lunny Sure ! or both. Who will design this operator?
@titou10titou10 Contributors or maintainers of gitea!
@techknowlogick would you mind sharing (in private?) your k8s objects (Deployments, STS, PV/PVC, etc) in order to have a base from a running gitea
@titou10titou10 @techknowlogick I think not currently. It needs more work as a public project.
I found 2 operators, one for k8s and one for OpenShift (because of a "route" object being created, easily replaced by an "ingress" I guess). The latter one is from the OpenShift team lead Wolfgang Kulhanek
Also a gitea docker image runnable in OpenShift (ie running with non-root user and other high privileges processes..) with an OpenShift "template" with persistent and ephemeral deployment
Could be a great source of inspiration
https://github.com/wkulhanek/gitea-operator
https://github.com/integr8ly/gitea-operator
https://github.com/wkulhanek/docker-openshift-gitea
^ One more Rancher-style k8s config
Hey all @loleg @titou10titou10 @techknowlogick @jfelten
I've actually been working on a Gitea Helm chart for the past week and I'd be more than welcome to contribute / donate it to the Gitea project in it's own separate repo.
I plan to maintain it for the foreseeable future.
It was originally based upon https://github.com/jfelten/gitea-helm-chart but I ran into a few issues with regards to its structure. My following chart does the following different:
ingress
by default and LoadBalancer
for the SSH port on port 8022It is located here:
https://github.com/k8s-land/gitea-chart
To try:
helm repo add k8s-land http://charts.k8s.land
helm install gitea k8s-land/gitea
For production / persistency:
helm show values k8s-land/gitea > values.yaml
vim values.yaml # Edit to enable persistent storage
helm install gitea k8s-land/gitea -f values.yaml
I rather deploy simple apps like gitea with helm chart
but I love operator that manage it
I started to build an operator that configure org, team, repos, users, etc
@bclermont , for inspiration, I found 2 other operators for gitea and OpenShift, but I'm not sure of the maturity of both:
https://github.com/integr8ly/gitea-operator
https://github.com/wkulhanek/gitea-operator
@titou10titou10 I looked at them already, they install gitea, not manage it once deployed.
for the installation of gitea I just use helm
Hi all, anybody having an issue described here: https://github.com/go-gitea/gitea/issues/11408?
Basically using this helm chart, any push (via git client or gitea ui) results in the following error message:
The change was rejected by the server with the following message:
Gitea: Internal Server Error
Unable to contact gitea: Post http://0.0.0.0:3000/api/internal/hook/pre-receive/dynatrace/test: net/http: invalid header field value "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODk0NTQxOTJ9.iWBvmOHvMVDnPNwVtNaAZ91gMBPljH-3lDVvM0_0HEE\n" for key Authorization
Please check githooks.
The helm chart is listed in the linked issue.
Thanks in advance!
Hello,
Just to know: is anyone still working on an official Helm chart for Gitea ?
If it is the case, I would love to help write and maintain it !
https://github.com/k8s-land/gitea-chart
Is actively maintained.
I've proposed to have this chart as the official one for Gitea but I've got no response yet.
@cdrage Sorry for the slow response. And thanks for your significant work on gitea chart. Once we accept your repository as an official one, we should update the chart with every gitea release. I think currently we have no enough maintainers and test environments to do it well. We should have at least another two maintainers (except you if you want to become one) to follow gitea's review policy - Every PR should be reviewed by at least two maintainers before it could be merged.
Please discuss more with us on https://discord.com/channels/322538954119184384/322910365237248000 .
Hello we've also created a gitea helm chart. It is fairly new and currently only used in our own kubernetes clusters. But we've decided to make it public.
https://github.com/novumrgi/helm/tree/master/charts/gitea
current support for:
Since we're actively using gitea in our company cluster we're going to maintain the chart for a long time.
However I don't want to start a "which chart is better" war. So if someone is interested let me know, or just use it :).
If you want to use our chart as official helm chart for gitea, let me know.
@luhahn that's awesome! feel free to send a PR to https://gitea.com/gitea/awesome-gitea/ to list it there as an option :)
I'm going to close this now, as we have many different options for helm charts now, and so the goal of this ticket is now complete.
We have an official helm chart https://gitea.com/gitea/helm-chart based on @cdrage 's recently. It's welcome to send PRs to that repository.
Sorry, but since our helm chart already supports admin user, ldap and much more we won't start working on another one. We're already using ours in our company and it supports all our needs, so it is highly unlikely that we're allowed to develop another one, which doesn't support the features we need.
However we're happy to help if you have questions, or if you decide to use ours and need support.
Or do you want to do some kind of a merge? If you want to discuss this topic, i'll be on Discord, same name :)
Let's discuss on discord. An official helm-chart with more features could help more people.
This is great news that this has been done.
Most helpful comment
Hey all @loleg @titou10titou10 @techknowlogick @jfelten
I've actually been working on a Gitea Helm chart for the past week and I'd be more than welcome to contribute / donate it to the Gitea project in it's own separate repo.
I plan to maintain it for the foreseeable future.
It was originally based upon https://github.com/jfelten/gitea-helm-chart but I ran into a few issues with regards to its structure. My following chart does the following different:
ingress
by default andLoadBalancer
for the SSH port on port 8022It is located here:
https://github.com/k8s-land/gitea-chart
To try:
For production / persistency: