Remove podinfo, add metallb

This commit is contained in:
SeanOMik 2023-04-02 15:25:25 -04:00
parent f076e6ff00
commit ae1f53b4bc
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
4 changed files with 28 additions and 10 deletions

View File

@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./traefik
- ./podinfo
- ./metallb

View File

@ -1,25 +1,27 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: podinfo
name: metallb-charts
namespace: flux-system
spec:
interval: 1m
url: https://stefanprodan.github.io/podinfo
url: https://metallb.github.io/metallb
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: podinfo
namespace: default
name: metallb
namespace: metallb-system
spec:
interval: 5m
chart:
spec:
chart: podinfo
version: '4.0.x'
chart: metallb
version: 0.13.x
sourceRef:
kind: HelmRepository
name: podinfo
name: metallb-charts
namespace: flux-system
interval: 1m
values:
crds:
enabled: false

View File

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

View File

@ -0,0 +1,15 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: static-ip-range
namespace: metallb-system
spec:
addresses:
- 192.168.87.10-192.168.87.28
autoAssign: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default
namespace: metallb-system