Legacy container/kubernetes configs and docs for gitea.kosmos.org
This repository has been archived on 2023-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Greg e0741b4438 Ship the customizations as a Docker image
The Docker image is used in the initialization process, to copy
everything in the custom folder to the Gitea data dir (mounted as a
persistent volume). It is built using Packer and is based on the busybox
image, so we can use its minimalist shell system to copy files and set
permissions
2019-04-01 17:01:16 +02:00
custom/options/label Ship the customizations as a Docker image 2019-04-01 17:01:16 +02:00
doc Merge branch 'docs/update' of kosmos/gitea.kosmos.org into master 2019-01-28 22:42:17 +00:00
kubernetes Ship the customizations as a Docker image 2019-04-01 17:01:16 +02:00
packer Ship the customizations as a Docker image 2019-04-01 17:01:16 +02:00
script Ship the customizations as a Docker image 2019-04-01 17:01:16 +02:00
vendor Add Ark as submodule 2019-01-05 10:14:49 +08:00
.gitignore Add a script to copy the content of the custom folder to a running pod 2019-02-27 17:47:48 +01:00
.gitmodules Add Ark as submodule 2019-01-05 10:14:49 +08:00
README.md Ship the customizations as a Docker image 2019-04-01 17:01:16 +02:00

README.md

gitea.kosmos.org

This repository contains configuration files and other assets, that are used to deploy and operate this Gitea instance.

To create a new image containing the customizations:

Edit packer/custom.json to increment the tag, then run this script (needs Packer in your path)

./script/build_customizations_image

Then edit kubernetes/gitea-server.yaml to use the new tag (image: eu.gcr.io/fluted-magpie-218106/gitea_custom:$VERSION) and apply the change:

cd kubernetes
kubectl apply -f gitea-server.yaml

Feel free to open issues for questions, suggestions, bugs, to-do items, and whatever else you want to discuss or resolve.