6
4
Fork 1
Read-only mirror pushed from https://invisible.forgejo.org/infrastructure/k8s-cluster/ - for disaster recovery
  • Shell 80.8%
  • Smarty 7.5%
  • JavaScript 6.7%
  • PHP 5%
Find a file
2026-04-18 07:51:24 +00:00
.forgejo Update https://data.forgejo.org/pnpm/action-setup action to v6.0.1 (#1278) 2026-04-17 23:01:52 +00:00
.husky chore: add more linting 2024-11-11 15:16:19 +01:00
bin ci(renovate): drop validator workaround 2026-02-25 10:08:49 +01:00
docs feat(backup): set file owner 2026-02-10 15:35:59 +01:00
flux update static-site https://code.forgejo.org/forgejo/html-website 2026-04-18 07:51:24 +00:00
k3s-host Update dependency k3s to v1.34.6+k3s1 (#1225) 2026-04-08 09:00:50 +00:00
.editorconfig chore: add more linting 2024-11-11 15:16:19 +01:00
.gitignore chore: add more linting 2024-11-11 15:16:19 +01:00
.lintstagedrc.json chore: add more linting 2024-11-11 15:16:19 +01:00
.markdownlint-cli2.cjs chore: add more linting 2024-11-11 15:16:19 +01:00
.node-version Update Node.js to v24.15.0 (#1274) 2026-04-17 00:02:18 +00:00
.npmrc chore: add more linting 2024-11-11 15:16:19 +01:00
.prettierignore feat(static-site): support nginx config 2025-11-19 09:11:24 +01:00
.prettierrc.json chore: more linting 2024-11-11 15:16:19 +01:00
.sops.yaml feat(flux): enable sops age (#877) 2025-11-07 13:42:07 +00:00
.sourceignore ci: add chart test (#741) 2025-09-04 09:01:36 +00:00
LICENSE Initial commit 2024-10-23 05:37:31 +00:00
package.json Update dependency prettier to v3.8.3 (#1280) 2026-04-18 01:01:26 +00:00
pnpm-lock.yaml Update dependency prettier to v3.8.3 (#1280) 2026-04-18 01:01:26 +00:00
README.md docs: instructions to update the snapshots (#1002) 2026-01-06 09:20:18 +00:00

There is a dedicated chatroom. A mirror of this repository is available at https://codeberg.org/forgejo/k8s-cluster, pushed on every commit using a token from forgejo-k8s-cluster-mirror which is a service account listed as a collaborator.

Table of content

Monitoring

Cluster monitoring will send warnings to a private Matrix chatroom dedicated to this purpose. The error messages may contain sensitive information. They should not but they are error messages after all and that possibility cannot be dismissed.

The forgejo-matrix-devops account on matrix.org is associated with the matrix-devops at forgejo.org email which is an alias to contact. The password, session keys etc. are not stored anywhere. If there ever is a need for manual interaction with this account, the password will have to be reset.

The monitors related to a deployment (v*.next for instance) should be removed before removing the instance to avoid false negative.

hetzner{05,06}

https://hetzner05.forgejo.org & https://hetzner06.forgejo.org run on EX44 Hetzner hardware.

Nodes of a k8s cluster.

Development

Install following tools locally:

  • node
  • pnpm or enable corepack
  • helm
  • flux
  • yq

Run pnpm install after code checkout to prepare development. This installs git hooks to fix simple lint issues.

You can run pnpm lint to run all lint checks.

Hacking

Evaluate a Forgejo helm release to verify the output is as expected before submitting a pull request, for instance after changing flux/apps/forgejo-code/forgejo-code.yaml.

  • helm template -f <(yq .spec.values forgejo-code.yaml) oci://code.forgejo.org/forgejo-helm/forgejo

Note that although flux build kustomization forgejo-code --path ./flux/clusters --kustomization-file ./flux/clusters/forgejo-code.yaml --dry-run will work, it will not call helm template and is not useful in that context.

Updating the test snapshots

helm plugin install --verify=false https://github.com/helm-unittest/helm-unittest.git
pnpm test:charts -u