41 lines
969 B
YAML
41 lines
969 B
YAML
---
|
|
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
|
|
patches:
|
|
- patch: |-
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: not-used
|
|
namespace: not-used
|
|
spec:
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-age
|
|
postBuild:
|
|
substituteFrom:
|
|
- kind: ConfigMap
|
|
name: cluster-settings
|
|
target:
|
|
group: kustomize.toolkit.fluxcd.io
|
|
kind: Kustomization
|
|
labelSelector: substitution.flux.home.arpa/disabled notin (true)
|