Add back metallb configuration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4d04007fd6
commit
d4a77b07da
21
metallb/metallb-kustomization-config.yaml
Normal file
21
metallb/metallb-kustomization-config.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: config--metallb-system
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 15m
|
||||||
|
dependsOn:
|
||||||
|
- name: metallb--metallb-system
|
||||||
|
path: ./metallb-config
|
||||||
|
prune: true # remove any elements later removed from the above path
|
||||||
|
timeout: 2m # if not set, this defaults to interval duration, which is 1h
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
||||||
|
validation: server
|
||||||
|
healthChecks:
|
||||||
|
- apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
name: metallb-controller
|
||||||
|
namespace: metallb-system
|
8
metallb/metallb-system/ipaddresspool.yaml
Normal file
8
metallb/metallb-system/ipaddresspool.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: metallb-pool-addresses
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
- 192.168.1.104-192.168.1.108
|
8
metallb/metallb-system/l2-advertisement.yaml
Normal file
8
metallb/metallb-system/l2-advertisement.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: my-l2-advertisment
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
ipAddressPools:
|
||||||
|
- metallb-pool-addresses
|
Loading…
Reference in New Issue
Block a user