Commit Graph

63 Commits

Author SHA1 Message Date
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
a16143a3f4 Add docs for Ark dependency 2019-01-05 10:22:48 +08:00
c3bf234cba Add Ark as submodule
Heptio Ark is a Kubernetes backup solution. See docs.
2019-01-05 10:14:49 +08:00
9e8370f577 Add backup doc 2019-01-02 12:50:14 +08:00
8496b19ec5 Update 'doc/kubernetes.md' 2019-01-02 04:20:49 +00:00
4a43305a35 Merge branch 'docs/kubernetes' of kosmos/gitea.kosmos.org into master 2018-12-24 08:05:03 +00:00
gregkare
8bb6bddb00 Merge branch 'feature/6-remove_init_env_vars' of kosmos/gitea.kosmos.org into master 2018-12-17 10:36:45 +00:00
Greg Karékinian
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
0cf7ba527e Move Kubernetes docs out of README 2018-12-14 18:12:39 +00:00
80e5b4f039 Merge branch 'feature/6-kubernetes_config' of kosmos/gitea.kosmos.org into master 2018-12-14 18:06:27 +00:00
Greg Karékinian
9407a74119 Force a new deployment after replacing the secrets 2018-12-14 18:47:53 +01:00
Greg Karékinian
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
bdc9294260 Hello universe 2018-12-13 10:49:57 +00:00