--- apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: OCIRepository metadata: name: flux-manifests namespace: flux-system spec: interval: 10m url: oci://ghcr.io/fluxcd/flux-manifests ref: tag: v0.38.2 --- apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 kind: Kustomization metadata: name: flux namespace: flux-system spec: interval: 10m path: ./ prune: true wait: true sourceRef: kind: OCIRepository name: flux-manifests patches: - patch: | $patch: delete apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: not-used target: group: networking.k8s.io version: v1 kind: NetworkPolicy