theshire/kubernetes/apps/kyverno/kyverno/ks.yaml

37 lines
920 B
YAML
Raw Normal View History

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:
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:
name: cluster-policies
2024-01-11 15:03:54 -06:00
namespace: flux-system
spec:
dependsOn:
- 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