mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-06-27 11:42:38 +00:00
852ff844c4
- 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
32 lines
815 B
YAML
32 lines
815 B
YAML
# Flux Kustomization for cert-manager
|
|
# Separate from main homeprod because cert-manager CRDs must be installed
|
|
# before ClusterIssuer resources can be applied
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: cert-manager
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: homeprod
|
|
path: ./kubernetes/system/cert-manager
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: flux-sops
|
|
healthChecks:
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: cert-manager
|
|
namespace: cert-manager
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: cert-manager-webhook
|
|
namespace: cert-manager
|
|
- apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: cert-manager-cainjector
|
|
namespace: cert-manager
|