Revert "Use flux kustomization for metallb depends"

This reverts commit 1cd0b96d0409dcc1b25f9fe44ac23c975a30b41b.
This commit is contained in:
SeanOMik 2023-04-04 19:05:17 -04:00
parent 647198ef99
commit f7d7b24d98
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
7 changed files with 6 additions and 49 deletions

View File

@ -1,6 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system
labels:
name: metallb-system

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./metallb-static-ips.yaml

View File

@ -1,38 +0,0 @@
---
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

View File

@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./namespace.yaml
- ./helm-release.yaml
- ./helm-release.yaml
- ./metallb-static-ips.yaml

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: metallb-system