33 lines
834 B
YAML
33 lines
834 B
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/gitrepository_v1.json
|
|
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: GitRepository
|
|
metadata:
|
|
name: home-cluster
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 1m0s
|
|
ref:
|
|
branch: main
|
|
secretRef:
|
|
name: forgejo-deploy-key
|
|
url: ssh://git@git.seanomik.net/seanomik/k3s-cluster
|
|
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: cluster
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m0s
|
|
path: ./cluster/base.yaml
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: home-cluster
|
|
# Support decryption
|
|
decryption:
|
|
provider: sops
|
|
secretRef:
|
|
name: sops-gpg |