flux-infra/clusters/titan.lan.huizinga.dev/infrastructure.yaml

48 lines
945 B
YAML

apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-controllers
namespace: flux-system
spec:
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/controllers
prune: true
wait: true
patches:
- patch: |
- op: add
path: /spec/values/service
value:
spec:
loadBalancerIP: 10.0.0.210
target:
kind: HelmRelease
name: traefik
namespace: traefik
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infra-configs
namespace: flux-system
spec:
dependsOn:
- name: infra-controllers
decryption:
provider: sops
secretRef:
name: sops-gpg
interval: 1h
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/configs
prune: true