mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/khuedoan/homelab.git
synced 2026-09-20 08:03:58 +08:00
refactor(metallb)!: use CRD instead of ConfigMap
Deprecated https://metallb.universe.tf/configuration/migration_to_crds
This commit is contained in:
8
system/metallb-system/templates/ipaddresspool.yaml
Normal file
8
system/metallb-system/templates/ipaddresspool.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: default
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
addresses:
|
||||
- 192.168.1.224/27
|
||||
8
system/metallb-system/templates/l2advertisement.yaml
Normal file
8
system/metallb-system/templates/l2advertisement.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: default
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- default
|
||||
Reference in New Issue
Block a user