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/config/cluster.yaml

45 lines
826 B
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: valinor
namespace: flux-system
spec:
interval: 30m
ref:
branch: main
2023-08-14 07:30:45 -05:00
secretRef:
2023-08-21 17:19:13 -05:00
name: git-deploy-key
2023-08-21 16:18:51 -05:00
url: ssh://git.hsn.dev/jahanson/valinor
2023-08-13 12:13:53 -05:00
ignore: |
# exclude all
/*
# include gitops dirs
!/kubernetes
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster
namespace: flux-system
spec:
interval: 30m
path: ./kubernetes/flux
prune: true
wait: false
sourceRef:
kind: GitRepository
name: valinor
2023-08-15 14:36:25 -05:00
decryption:
provider: sops
secretRef:
name: sops-age
2023-08-13 12:13:53 -05:00
postBuild:
substituteFrom:
- kind: ConfigMap
name: cluster-settings
optional: false
2023-08-15 14:36:25 -05:00
- kind: Secret
name: cluster-secrets
optional: false