37 lines
922 B
YAML
37 lines
922 B
YAML
# clusters/atlas/flux-system/platform/metallb/kustomization.yaml
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: metallb
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 30m
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
namespace: flux-system
|
|
path: ./infrastructure/metallb
|
|
prune: true
|
|
wait: true
|
|
targetNamespace: metallb-system
|
|
---
|
|
# Temporary second wave: MetalLB rejects overlapping pools during dry-run.
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: ingress-pool-transition
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m
|
|
retryInterval: 10s
|
|
dependsOn:
|
|
- name: metallb
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|
|
path: ./infrastructure/metallb/ingress-pool-transition
|
|
# The normal metallb stack adopts the pool after this one-time transition.
|
|
prune: false
|
|
wait: false
|
|
targetNamespace: metallb-system
|