Greg greg
  • Joined on 2018-11-05
greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-03-29 14:17:16 +00:00
8050126d2d Merge branch 'master' into feature/4-label_sets
b5bbc5fa34 Update Gitea to 1.7.5
Compare 2 commits »
greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-29 14:13:10 +00:00
Remove unused GCE disks

I checked again, there aren't any tk-vagrant-main-ubuntu persistent disks right now

greg pushed to master at kosmos/gitea.kosmos.org 2019-03-29 14:04:43 +00:00
b5bbc5fa34 Update Gitea to 1.7.5
greg closed issue kosmos/gitea.kosmos.org#21 2019-03-29 14:04:43 +00:00
Upgrade Gitea to 1.7.5
greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-06 08:58:48 +00:00
Remove unused GCE disks

I need to figure out why it's creating persistent disks. The integrations tests are using Test Kitchen with the gce driver, because the Vagrant driver didn't work inside of Kubernetes

greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-04 20:08:10 +00:00
Remove unused GCE disks

I don't know what the 100GB disks are, they're not any of the persistent disks in the GKE console

greg commented on issue kosmos/gitea.kosmos.org#10 2019-03-04 20:01:30 +00:00
Remove unused GCE disks

The tk disks are from running the integrations tests on the chef repo using GKE

greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-02-27 16:49:26 +00:00
bbfa3f2964 Add a script to copy the content of the custom folder to a running pod
greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-27 12:17:58 +00:00
Add default and Kosmos label sets

There is no way to create a configmap from a directory containing subdirectories and files (you need to pass every file), so I need to rethink the process if we want to add more custom files easily. I had also misunderstood ConfigMaps, the GKE docs are more explicit about it being for key-value pairs, so it would not work for every file (https://cloud.google.com/kubernetes-engine/docs/concepts/configmap). Copying a folder recursively to a location on a pod seems possible with kubectl cp, I'm trying that out. Creating a Docker image just for copying these custom files seems overkill

greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-27 11:46:21 +00:00
Add default and Kosmos label sets

I'm on it

greg pushed to feature/4-label_sets at kosmos/gitea.kosmos.org 2019-02-27 11:44:02 +00:00
0a60d8831c Merge branch 'master' into feature/4-label_sets
cc6f31b4b9 Update Gitea to 1.7.2
069502d056 Bump the gitea data storage to 20GB
278e6a9cd7 Use a 10GB persistent storage volume for gitea data
Compare 4 commits »
greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-26 14:00:22 +00:00
Add default and Kosmos label sets

From the ConfigMaps docs:

greg pushed to master at kosmos/gitea.kosmos.org 2019-02-25 15:55:26 +00:00
cc6f31b4b9 Update Gitea to 1.7.2
greg closed issue kosmos/gitea.kosmos.org#18 2019-02-25 15:55:26 +00:00
Upgrade Gitea to 1.7.2
greg pushed to master at kosmos/gitea.kosmos.org 2019-02-25 12:29:26 +00:00
069502d056 Bump the gitea data storage to 20GB
greg pushed to master at kosmos/gitea.kosmos.org 2019-02-25 12:19:11 +00:00
278e6a9cd7 Use a 10GB persistent storage volume for gitea data
greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-25 08:56:33 +00:00
Add default and Kosmos label sets

Here's the Docker docs where they say /data/gitea is the folder for customization when using Docker: https://docs.gitea.io/en-us/install-with-docker/#customization

greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-25 08:54:24 +00:00
Add default and Kosmos label sets

I don’t know what that means. The files live in an actual /custom folder with my local Gitea that I’m developing them in. The docs call that folder /custom. If you put them in the normal data folder, then almost certainly they will overwrite actual Gitea files, instead of adding custom ones in the custom folder.

greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-06 08:36:37 +00:00
Add default and Kosmos label sets

I think it's not a big change from this PR to achieve that (create ConfigMaps for the entire folder instead of just options/label, copy the mounted files to /data/gitea/, this is what the Gitea docs call /custom). The secrets (app.ini and the dummy TLS cert) will have to be moved respectively to custom/conf and custom/https

greg commented on issue kosmos/gitea.kosmos.org#15 2019-02-05 19:32:04 +00:00
Add default and Kosmos label sets

Done in eba722992f. I created the labels as ConfigMaps and copied them to the persistent data volume as part of the init container.