mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 19:54:32 +00:00
Deploys an Apache + mod_auth_gssapi sidecar in the gitea namespace that handles SPNEGO/Kerberos negotiation (HTTP/git.prole.org@PROLE.ORG) and injects X-WEBAUTH-USER for Gitea reverse-proxy auto-login. Identity chain: Browser → Traefik TLS → Kong → gitea-spnego-proxy:4000 → GSSAPI negotiate → X-WEBAUTH-USER: <username> → gitea-http:3000 (reverse proxy auto-registration) Changes: - gitea-spnego-proxy.yaml: krb5.conf ConfigMap + Deployment + Service - gitea/spnego-proxy/: Dockerfile and Apache vhost (build source) - kong-configmap.yaml: route git.prole.org → gitea-spnego-proxy:4000 Gitea reverse proxy settings applied via helm upgrade: ENABLE_REVERSE_PROXY_AUTHENTICATION=true ENABLE_REVERSE_PROXY_AUTO_REGISTRATION=true REVERSE_PROXY_AUTHENTICATION_USER_HEADER=X-WEBAUTH-USER Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| argocd | ||
| manifests | ||
| main.tf | ||
| opentofu.auto.tfvars | ||
| README.md | ||
| variables.tf | ||
OpenTofu k3s Pipeline
This pipeline re-deploys the Knoe environment into a k3s cluster using OpenTofu.
Usage
- Ensure
opentofu.auto.tfvarsis populated (install.py will generate it). - Sync manifests into
deploy/opentofu/k3s/manifests. - Run:
tofu init
tofu plan
tofu apply
Files
main.tf: Applies Kubernetes manifests with the configured namespace.variables.tf: Pipeline inputs (server URL, token, namespace).opentofu.auto.tfvars: Auto-generated values from Knoe install/config.manifests/: Copy ofk8s/manifests to re-deploy.