Meta repo for gitea.kosmos.org operation, issues, suggestions, and feedback.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
raucao 199b3e94cf Add gitea namespace 4 years ago
kubernetes Add gitea namespace 4 years ago
script Force a new deployment after replacing the secrets 4 years ago
.gitignore Add initial Kubernetes config files 4 years ago
README.md Add initial Kubernetes config files 4 years ago

README.md

gitea.kosmos.org

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

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

Kubernetes

Apply changes to resources

kubectl apply -f gitea-db.yaml
kubectl apply -f gitea-server.yaml

Write the secrets to the local filesystem

./script/get_secrets

It writes the secrets (currently the app.ini file, as well as auto-generated TLS certificates that are only used when no Let's Encrypt cert is available) to the kubernetes/config/ folder. These files are not in Git because they contain credentials.

Once you have edited them locally, you need to delete the secrets stored on Kubernetes before uploading them again. This is done by this script:

./script/replace_secrets

Reuse a released persistent volume:

https://github.com/kubernetes/kubernetes/issues/48609#issuecomment-314066616