Skip to content

Instantly share code, notes, and snippets.

@a1994sc
Created May 10, 2024 23:16
Show Gist options
  • Save a1994sc/ce7598e55ec7a13a8a2b241f18e3d949 to your computer and use it in GitHub Desktop.
Save a1994sc/ce7598e55ec7a13a8a2b241f18e3d949 to your computer and use it in GitHub Desktop.
overview of kustomization
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cert-manager
namespace: flux-system
spec:
interval: 5m
path: "./cert-manager/controller"
prune: true
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: cert-manager
namespace: cert-manager
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: certs
namespace: flux-system
spec:
dependsOn:
- name: cert-manager
interval: 5m
path: "./cert-manager/certs"
prune: true
sourceRef:
kind: GitRepository
name: flux-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment