This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/flux/cluster-apps.yaml

34 lines
799 B
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps
namespace: flux-system
spec:
interval: 10m
2023-08-14 08:15:34 -05:00
path: ./kubernetes/apps
2023-08-13 12:13:53 -05:00
prune: true
sourceRef:
kind: GitRepository
name: valinor
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:
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
target:
group: kustomize.toolkit.fluxcd.io
kind: Kustomization
labelSelector: substitution.flux.home.arpa/disabled notin (true)