2024-01-11 15:03:54 -06:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
|
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
|
|
kind: Kustomization
|
|
|
|
metadata:
|
2024-01-16 21:17:06 -06:00
|
|
|
name: kyverno
|
2024-01-11 15:03:54 -06:00
|
|
|
namespace: flux-system
|
|
|
|
spec:
|
|
|
|
path: ./kubernetes/apps/kyverno/kyverno/app
|
|
|
|
prune: true
|
|
|
|
sourceRef:
|
|
|
|
kind: GitRepository
|
2024-01-11 17:50:28 -06:00
|
|
|
name: homelab
|
2024-01-11 15:03:54 -06:00
|
|
|
wait: true
|
|
|
|
interval: 30m
|
|
|
|
retryInterval: 1m
|
|
|
|
timeout: 5m
|
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
|
|
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
|
|
kind: Kustomization
|
|
|
|
metadata:
|
2024-01-16 21:17:06 -06:00
|
|
|
name: cluster-policies
|
2024-01-11 15:03:54 -06:00
|
|
|
namespace: flux-system
|
|
|
|
spec:
|
|
|
|
dependsOn:
|
2024-01-16 21:17:06 -06:00
|
|
|
- name: kyverno
|
2024-01-11 15:03:54 -06:00
|
|
|
path: ./kubernetes/apps/kyverno/kyverno/policies
|
|
|
|
prune: true
|
|
|
|
sourceRef:
|
|
|
|
kind: GitRepository
|
2024-01-11 17:50:28 -06:00
|
|
|
name: homelab
|
2024-01-11 15:03:54 -06:00
|
|
|
wait: false
|
|
|
|
interval: 30m
|
|
|
|
retryInterval: 1m
|
|
|
|
timeout: 5m
|