k3s-cluster/cluster/core/networking/metallb/ks.yaml

38 lines
831 B
YAML

---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: cluster-core-metallb
namespace: flux-system
spec:
path: ./cluster/core/networking/metallb/app
prune: true
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: metallb
namespace: metallb-system
interval: 30m
retryInterval: 1m
timeout: 3m
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: cluster-core-metallb-config
namespace: flux-system
spec:
dependsOn:
- name: cluster-apps-metallb
path: ./cluster/core/networking/metallb/config
prune: true
sourceRef:
kind: GitRepository
name: flux-system
wait: true
interval: 30m
retryInterval: 1m
timeout: 3m