Stage 1 of REFACTOR_PLAN.md. values/gitea.yaml and config/dashy/conf.yaml now reference secrets injected at apply-time (gitea-postgres-secret.sh, .env) instead of hardcoding a live DB password and weather API key in git. Both values must be treated as compromised and rotated by the operator (see .env.example). Also fixes authentik-ingress.yaml and traefik-dashboard-ingress.yaml, which pointed at the internal-ca root ClusterIssuer instead of internal-ca-issuer, the chained issuer every other internal Certificate uses -- causing untrusted-cert warnings on the SSO login and Traefik dashboard. Extends .gitignore for *.retry, .vault_pass*, kubeconfig patterns, and editor swap files. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
33 lines
777 B
YAML
33 lines
777 B
YAML
# Apply: kubectl apply -f manifests/authentik/authentik-ingress.yaml
|
|
# Delete: kubectl delete -f manifests/authentik/authentik-ingress.yaml
|
|
# Description: TLS certificate and Traefik IngressRoute for Authentik at auth.home.arpa.
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: authentik-tls
|
|
namespace: authentik
|
|
spec:
|
|
secretName: authentik-tls
|
|
issuerRef:
|
|
name: internal-ca-issuer
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- auth.home.arpa
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: authentik
|
|
namespace: authentik
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`auth.home.arpa`)
|
|
kind: Rule
|
|
services:
|
|
- name: authentik-server
|
|
port: 80
|
|
tls:
|
|
secretName: authentik-tls
|