36 lines
922 B
YAML
36 lines
922 B
YAML
---
|
|
# 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
|
|
namespace: flux-system
|
|
spec:
|
|
path: ./kubernetes/apps/kyverno/kyverno/app
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: theshire
|
|
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
|
|
namespace: flux-system
|
|
spec:
|
|
dependsOn:
|
|
- name: kyverno
|
|
path: ./kubernetes/apps/kyverno/kyverno/policies
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: theshire
|
|
wait: false
|
|
interval: 30m
|
|
retryInterval: 1m
|
|
timeout: 5m
|