---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps
namespace: flux-system
spec:
interval: 10m
path: ./kubernetes/apps
prune: true
sourceRef:
kind: GitRepository
name: valinor
decryption:
provider: sops
secretRef:
name: sops-age
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets
patches:
- patch: |-
name: not-used
namespace: not-used
target:
group: kustomize.toolkit.fluxcd.io
labelSelector: substitution.flux.home.arpa/disabled notin (true)