Provision forgejo on k8s with c4k
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
gec a9d1c57a64 Merge pull request 'Split generation of config- and auth-objects' (#5) from split-config-auth into main
Reviewed-on: #5
1 week ago
doc [Skip-CI] remove deprecated todo 3 weeks ago
infrastructure bump version to: 3.4.5-SNAPSHOT 2 weeks ago
public Forgejo instead of gitea 1 year ago
src adjust postgres function call 1 week ago
.gitignore try to create native image 5 months ago
.gitlab-ci.yml Added runbook todo and disabled forgejo-federated-image-publish 3 weeks ago
LICENSE initial 2 years ago
README.md Added howto setup impressum 3 weeks ago
build-and-move-frontend.sh Small adjustment and added development doc 1 year ago
build.py fix arch 5 months ago
package.json bump version to: 3.4.5-SNAPSHOT 2 weeks ago
project.clj updated deps 1 week ago
shadow-cljs.edn updated deps 1 week ago

README.md

convention 4 kubernetes: c4k-forgejo

Clojars Project pipeline status

DeltaChat chat over e-mail | team@social.meissa-gmbh.de team@social.meissa-gmbh.de | Website & Blog

Purpose

c4k-forgejo provides a k8s deployment file for forgejo containing:

  • forgejo
  • test federated forgejo
  • ingress having a letsencrypt managed certificate
  • postgres database
  • encrypted backup on S3 & restore
  • monitoring on graphana-cloud

c4k-forgejo is an example how to create efficient k8s one shot deployments with https://repo.prod.meissa.de/meissa/c4k-common.

Try out

Click on the image to try out live in your browser:

Try it out

Your input will stay in your browser. No server interaction is required.

Forgejo setup

After having deployed the yaml-file generated by the c4k-forgejo module you need to complete the setup for forgejo:

  • Open the URL of your forgejo-server, and you will be shown a configuration page.
  • Adjust the settings according to your needs
  • Add the administrator's data (name, password and email) and submit the page.
  • The required database will be created and the forgejo setup will be completed.
  • The SSH-URL for a repo has the format: "ssh://git@domain:2222/[username]/[repo].git Example: "git clone ssh://git@repo.test.meissa.de:2222/myuser/c4k-forgejo.git"

Add Impressum

In order to customize the UI e.g. for adding an Impressum, see the Forgejo Docs. The individually needed files have to be added by hand into the directory /data/gitea/templates/custom/ in the forgejo Pod. Since a PV is mounted under /data, these ui customizations are persisted.

Development & mirrors

Development happens at: https://repo.prod.meissa.de/meissa/c4k-forgejo

Mirrors are:

For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos

License

Copyright © 2023 meissa GmbH Licensed under the Apache License, Version 2.0 (the "License") Pls. find licenses of our subcomponents here