Commit Graph

11 Commits

Author SHA1 Message Date
gregkare e3de3af82f Merge branch 'chore/resource_config' of kosmos/gitea.kosmos.org into master 2019-05-02 15:25:13 +00:00
Greg b5bbc5fa34 Update Gitea to 1.7.5
Running on GKE

Closes #21
2019-03-29 15:04:23 +01:00
Basti 915fd7db8a
Add resource requests and limits for Gitea
Based on recent usage stats. If these are not set, the scheduler's
capacity check doesn't work and it will place new pods on nodes that are
actually not free enough for them.
2019-03-04 13:48:20 +07:00
Greg cc6f31b4b9 Update Gitea to 1.7.2
Closes #18
2019-02-25 16:54:59 +01:00
Greg 069502d056 Bump the gitea data storage to 20GB 2019-02-25 13:29:09 +01:00
Greg 278e6a9cd7 Use a 10GB persistent storage volume for gitea data 2019-02-25 13:18:45 +01:00
Basti 526f4b9035 Upgrade Gitea to 1.7.1 2019-02-03 12:28:21 +07:00
Basti 28b73f88a8 Use 1.7 release of Gitea 2019-01-09 07:55:13 +08:00
Basti 3692204ce4 Add app label for all Gitea resources
This way one can address them all at once, like e.g. for Ark backups.
2019-01-05 11:09:25 +08:00
Greg bf62157f26 Remove the init environment variables
They were never used since we create an ini config file before starting
the container

Refs #6
2018-12-17 11:34:15 +01:00
Greg 4c463adcda Add initial Kubernetes config files
This includes all the resources currently running on https://gitea.kosmos.org

It sets up a persistent data volume for the MySQL database, one for the
Gitea data, that Gitea calls the custom folder (config, attachment,
avatars, logs, etc). We mount that persistent data volume as
/data/gitea. It also creates a Let's Encrypt certificate for
gitea.kosmos.org, also saved to the custom folder.

This also includes two scripts:

* `./script/get_secrets` downloads the secrets to the local filesystem so
they can be edited
* `./script/replace_secrets` deletes the remote secrets and creates them
again from the local ones in kubernetes/config/*

Closes #6
2018-12-14 17:14:00 +01:00