37 lines
957 B
YAML
37 lines
957 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: &app kyverno
|
|
namespace: flux-system
|
|
spec:
|
|
path: ./kubernetes/apps/kyverno/kyverno/app
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: theshire
|
|
wait: true
|
|
interval: 30m
|
|
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: &app cluster-policies
|
|
namespace: flux-system
|
|
spec:
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *app
|
|
dependsOn:
|
|
- name: kyverno
|
|
path: ./kubernetes/apps/kyverno/kyverno/policies
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: theshire
|
|
wait: false
|
|
interval: 30m
|
|
timeout: 5m
|