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

46 lines
1.2 KiB
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
2023-09-23 11:01:39 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
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
2023-08-15 10:51:30 -05:00
decryption:
provider: sops
secretRef:
name: sops-age
2023-08-13 12:13:53 -05:00
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
2023-08-15 10:51:30 -05:00
- kind: Secret
name: cluster-secrets
2023-08-13 12:13:53 -05:00
patches:
- patch: |-
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: not-used
spec:
2023-08-15 10:51:30 -05:00
decryption:
provider: sops
secretRef:
name: sops-age
2023-08-13 12:13:53 -05:00
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
2023-08-15 10:51:30 -05:00
- kind: Secret
name: cluster-secrets
2023-08-13 12:13:53 -05:00
target:
group: kustomize.toolkit.fluxcd.io
kind: Kustomization
labelSelector: substitution.flux.home.arpa/disabled notin (true)