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

38 lines
957 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:
2024-10-19 16:38:02 -05:00
name: &app kyverno
2024-01-11 15:03:54 -06:00
namespace: flux-system
spec:
path: ./kubernetes/apps/kyverno/kyverno/app
prune: true
sourceRef:
kind: GitRepository
name: theshire
2024-01-11 15:03:54 -06:00
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:
2024-10-19 16:38:02 -05:00
name: &app cluster-policies
2024-01-11 15:03:54 -06:00
namespace: flux-system
spec:
2024-10-19 16:38:02 -05:00
commonMetadata:
labels:
app.kubernetes.io/name: *app
2024-01-11 15:03:54 -06:00
dependsOn:
- name: kyverno
2024-01-11 15:03:54 -06:00
path: ./kubernetes/apps/kyverno/kyverno/policies
prune: true
sourceRef:
kind: GitRepository
name: theshire
2024-01-11 15:03:54 -06:00
wait: false
interval: 30m
timeout: 5m