Updates MetalLB to install with kustomize instea of ks default.

This commit is contained in:
2025-06-03 23:32:41 -07:00
parent 8f81487f18
commit e7fd978b89
7 changed files with 31 additions and 51 deletions

View File

@@ -0,0 +1,18 @@
namespace: metallb-system
resources:
- pool.yaml
configMapGenerator:
- name: metallb-config
envs:
- config/config.env
replacements:
- source:
kind: ConfigMap
name: metallb-config
fieldPath: data.CLUSTER_LOAD_BALANCER_RANGE
targets:
- select:
kind: IPAddressPool
name: first-pool
fieldPaths:
- spec.addresses.0