homelab_gitops/notes/cert-manager.md

940 B

Schritt 1: cert-manager v1.17.2 mit FluxCD deployen

Verzeichnisstruktur

infrastructure/ cert-manager/ namespace.yaml helmrepository.yaml configmap-values.yaml helmrelease.yaml kustomization-cert-manager.yaml

Vorgehen

  1. YAML-Dateien wie oben beschrieben im Git-Repository anlegen.
  2. Änderungen committen und pushen:
   git add infrastructure/cert-manager/*
   git add infrastructure/kustomization-cert-manager.yaml
   git commit -m "Deploy cert-manager v1.17.2 via FluxCD"
   git push origin main
  1. Flux synchronisiert automatisch. Manuelles Triggern:
   flux reconcile source git flux-system
   flux get kustomizations
   kubectl -n cert-manager get pods
  1. Prüfen, ob cert-manager läuft:
   kubectl -n cert-manager get pods
   kubectl -n cert-manager get deployments
  1. Fehlerdiagnose:
   flux logs
   kubectl -n cert-manager logs deploy/cert-manager