fix: resolve cert-manager CRD dependency for cluster redeployability

- Add root kustomization.yaml to explicitly list included paths
- Exclude cert-manager and cert-manager-issuer from root kustomization
- Add Flux Kustomizations in system/flux/ to manage deployment order
- cert-manager Flux Kustomization includes health checks for CRDs
- cert-manager-issuer depends on cert-manager being ready
This commit is contained in:
2026-06-16 11:06:05 +02:00
parent a03bbee9e2
commit 852ff844c4
7 changed files with 97 additions and 1 deletions
@@ -0,0 +1,19 @@
# Flux Kustomization for cert-manager ClusterIssuer
# Depends on cert-manager being fully operational (CRDs installed)
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cert-manager-issuer
namespace: flux-system
spec:
interval: 10m
sourceRef:
kind: GitRepository
name: homeprod
path: ./kubernetes/system/cert-manager-issuer
dependsOn:
- name: cert-manager
decryption:
provider: sops
secretRef:
name: flux-sops