The secret file needs different yaml template handling due to
multiline strings, and the service has a duplicate name.
Change-Id: I9930c4ff713ba87e1b4c819f6c80cab5b0ffd165
Gitea supports internal TLS termination as well as redirection of
http to https. That may be simpler than terminating in a reverse
proxy. Let's try it.
Also, make the dockerfile match the expectation of the job that
there will be a gitea-init stage.
Also, fix the repository root setting in app.ini.
Change-Id: Ia6b66b53cebdb1afa49fef89a0559615f98052f1
For scale out purposes, we only want one gitea pod per underlying
kubernetes node. Use podAntiAffinity to accomplish this.
Change-Id: Icd8f70cf7e1640e58133f67e8a519267ac3b36d3
Change the app name from gitea to opendev. Also, add a tagline
because why not?
And add two missing settings. And fix the pandoc command for
RST rendering. And fix the gitea URL. Keep one copy of old
replicasets. Keep 4 replicas. Add a dummp env variable to trigger
deployments.
Change-Id: I0182d18a838d444d5853238fa2e48b4511383a94
This adds k8s resource definitions for running gitea, and an ansible
playbook to create them.
It also includes ansible playbooks to create orgs and repos.
Change-Id: Ib64597512c6a85d7e1495d18ae42b242f9af5a67