feat(local): k8s HTTPS via cert-manager, k8s docs, legacy cleanup - #22
Merged
Conversation
Local deployment is now Kubernetes (kind-fuzeinfra + Helm); this aligns the
repo with that reality.
Local HTTPS:
- deploy/local-tls/cert-manager-local-ca.yaml — a self-signed local CA
ClusterIssuer (cert-manager) so ingresses get managed TLS locally, mirroring
prod's cert-manager/letsencrypt model.
- values-local.yaml — enable ingress TLS + cert-manager.io/cluster-issuer
annotation for fuzefront.dev.local. (CA public cert is gitignored, per-machine.)
Docs (k8s switch): README, PRODUCTION_DEPLOYMENT, SERVICE_DISCOVERY_SOLUTION,
AUTHENTICATION_SETUP, developer-guide, scripts/README rewritten around
Helm/kind/ingress-nginx/cert-manager; docker-compose/Traefik/fuzeinfra-nginx/
port-8008 marked legacy.
Cleanup: remove docker-compose.prod.yml (superseded by values-prod + Argo CD),
scripts/nginx-service-manager.ps1 and scripts/setup-hosts.ps1 (managed the old
docker nginx container / port 8008). gitignore the downloaded binaries
(cloudflared, mkcert, *.deb), screenshot output, and the local CA cert.
Authentik scripts: commit the setup/init/reset scripts (interim compose-based
auth until it moves into the chart) with secrets sourced from env — README
placeholders only, and init-authentik-db.sh requires ${PG_PASS:?} (no hardcoded
fallback).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns the repo with the k8s reality (FuzeFront + FuzeInfra both moved to Kubernetes; local = kind
fuzeinfra+ Helm).Local HTTPS (cert-manager)
deploy/local-tls/cert-manager-local-ca.yaml— a self-signed local CAClusterIssuerso ingresses get cert-manager-managed TLS locally, mirroring prod's cert-manager/letsencrypt model.values-local.yaml— enableingress.tls+cert-manager.io/cluster-issuerannotation forfuzefront.dev.local.CN=FuzeFront Local Dev CA,https://fuzefront.dev.local→ 200 serving the new design system. (Import the CA once to trust it:certutil -addstore -f "ROOT" deploy/local-tls/fuzefront-local-ca.crt.)Docs (k8s switch)
README, PRODUCTION_DEPLOYMENT, SERVICE_DISCOVERY_SOLUTION, AUTHENTICATION_SETUP, developer-guide, scripts/README rewritten around Helm / kind / ingress-nginx / cert-manager. docker-compose, Traefik,
fuzeinfra-nginx, port-8008 marked legacy.Cleanup
docker-compose.prod.yml(superseded byvalues-prod.yaml+ Argo CD),scripts/nginx-service-manager.ps1andscripts/setup-hosts.ps1(managed the old docker nginx container / port 8008)..gitignore: the downloaded binaries (cloudflared,mkcert,*.deb), screenshot output, local CA cert.docker-compose.yml(interim Authentik) andfrontend/nginx.conf(in-pod SPA server) — both still needed.Authentik scripts (secrets via env)
Committed the setup/init/reset scripts with secrets sourced from env — README uses placeholders only;
init-authentik-db.shrequires${PG_PASS:?}(no hardcoded fallback). The previously plaintextPG_PASS/AUTHENTIK_SECRET_KEYare scrubbed.Deliberately NOT included (need your call)
fuzefront-website/infrastructure/main.tf(re-enables Route53 zone + ACM cert creation)scripts/cleanup-route53-*.sh/delete-remaining-zones.sh(hardcode real hosted-zone IDs + destructive ops)package.json/lock (wranglerdevDep)🤖 Generated with Claude Code