Fix: metallb bootstrap

This commit is contained in:
2025-02-02 14:09:28 +08:00
parent a817ae1e6b
commit a664d90787
7 changed files with 17 additions and 4 deletions

View File

@@ -2,13 +2,28 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: metallb
name: metallb-helm
namespace: flux-system
spec:
interval: 10m0s
path: ./metallb-system/
path: ./metallb-system/helminstall
prune: true
force: false
sourceRef:
kind: GitRepository
name: infrastructures
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: metadata-resources
namespace: flux-system
spec:
interval: 10m0s
path: ./metallb-system/crd-resources
prune: true
force: false
dependsOn: metallb-helm
sourceRef:
kind: GitRepository
name: infrastructures

View File

@@ -7,8 +7,6 @@ generatorOptions:
resources:
- namespace.yaml
- helmrelease.yaml
- l2advertisement.yaml
- ipaddresspool.yaml
configMapGenerator:
- name: metallb-values
files: