8
0
Fork
You've already forked gitops
0
gitops repo for our kubernetes cluster
Find a file
2024年05月09日 23:28:40 +00:00
argocd Merge remote-tracking branches 'origin/refs/pull/279/head' and 'origin/refs/pull/280/head' 2024年05月08日 16:48:54 +10:00
book book: update hashbang/book:latest Docker digest to 95eea06 2023年02月07日 11:40:26 +00:00
cert-manager cert-manager: update Helm release cert-manager to v1.14.4 2024年03月08日 16:56:58 +00:00
external-dns external-dns: update registry.k8s.io/external-dns/external-dns Docker tag to v0.14.1 2024年03月22日 14:05:06 +00:00
ingress-nginx ingress-nginx/controller: update registry.k8s.io/ingress-nginx/controller Docker tag to v1.10.1 2024年04月19日 20:11:30 +00:00
ircd ircd: update ghcr.io/ergochat/ergo Docker tag to v2.13.1 2024年05月06日 10:47:19 +00:00
jitsi jitsi: hack around DO's LB needing a TCP probe 2023年11月03日 22:01:20 -04:00
keycloak keycloak: update quay.io/keycloak/keycloak Docker tag to v24.0.4 2024年05月08日 06:41:38 +00:00
matterbridge matterbridge: strip nicks when using RELAYMSG 2023年12月18日 00:40:38 -05:00
mtls mtls: you can't use a symlink 2023年04月17日 13:17:27 +10:00
site site: Update hashbang.sh container 2023年05月07日 23:15:22 +00:00
userdb-api userdb-api: update postgrest/postgrest Docker tag to v12.0.3 2024年05月09日 23:28:40 +00:00
webirc *: use newTag rather than digest for hashlocking 2023年02月07日 22:32:44 +11:00
wkd wkd: update kiwigrid/k8s-sidecar Docker tag to v1.26.0 2024年02月28日 11:13:11 +00:00
.sops.yaml **/*.enc.yaml: updatekeys for KellerFuchs 2023年04月16日 17:16:59 -04:00
README.md argocd: add admin gpg keys 2020年08月26日 15:07:13 +10:00
renovate.json renovate.json: add config 2023年02月07日 22:39:43 +11:00

Hashbang GitOps

About

This repository contains the configuration for our Kubernetes cluster. Each folder contains an "application" that is deployed into the cluster.

Deployment is done with a self-managed ArgoCD instance. Secrets are encrypted in this repository using SOPS and applied via KSOPS.

If you'd like to change anything about hashbang's infrastructure, please send a PR!

Common Tasks

Adding New Admin(s)

Add the new admin's PGP key to .sops.yaml, then run:

find . -name '*.enc.yaml' | while read file; do
	sops updatekeys -y $file
done

Create a new argocd local user for the admin (argocd/users.patch.yaml). Add the new user to the admin group (argocd/argo-cd-rbac.patch.yaml). Have the new user create a password for accessing argocd and hash it with e.g. htpasswd -n -B -C 10 adminusername. Add it to argocd/argocd-secret.enc.yaml.

Have the new user create a password for accessing metrics and hash it with e.g. htpasswd -n -B -C 10 adminusername. Add it to monitoring/user-auth.enc.yaml.

Add the admin's PGP key to argocd/gpg-keys/KEYID (and update the list in argocd/kustomization.yaml) e.g.

gpg -a --export --export-options export-minimal C91A9911192C187A > argocd/gpg-keys/C91A9911192C187A

Add the admin's PGP key to mtls/files/admin_seeds/ (and update the list in mtls/kustomization.yaml)