fix: rename cluster and change object order
This commit is contained in:
+18
-18
@@ -1,22 +1,4 @@
|
|||||||
---
|
---
|
||||||
apiVersion: cilium.io/v2
|
|
||||||
kind: CiliumBGPClusterConfig
|
|
||||||
metadata:
|
|
||||||
name: bgp-opnsense
|
|
||||||
spec:
|
|
||||||
nodeSelector:
|
|
||||||
matchLabels:
|
|
||||||
kubernetes.io/role: "worker"
|
|
||||||
bgpInstances:
|
|
||||||
- name: "bgp-cilium-peers"
|
|
||||||
localASN: 64513 # Cilium ASN
|
|
||||||
peers:
|
|
||||||
- name: "opnsense"
|
|
||||||
peerASN: 64512 # OPNsense ASN
|
|
||||||
peerAddress: 192.168.66.1 # OPNsense IP on the Lab network
|
|
||||||
peerConfigRef:
|
|
||||||
name: "bgp-cilium-peers"
|
|
||||||
---
|
|
||||||
apiVersion: cilium.io/v2alpha1
|
apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumBGPPeerConfig
|
kind: CiliumBGPPeerConfig
|
||||||
metadata:
|
metadata:
|
||||||
@@ -35,6 +17,24 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
advertise: "bgp"
|
advertise: "bgp"
|
||||||
---
|
---
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumBGPClusterConfig
|
||||||
|
metadata:
|
||||||
|
name: bgp-opnsense
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/role: "worker"
|
||||||
|
bgpInstances:
|
||||||
|
- name: "bgp-cilium-cluster"
|
||||||
|
localASN: 64513 # Cilium ASN
|
||||||
|
peers:
|
||||||
|
- name: "opnsense"
|
||||||
|
peerASN: 64512 # OPNsense ASN
|
||||||
|
peerAddress: 192.168.66.1 # OPNsense IP on the Lab network
|
||||||
|
peerConfigRef:
|
||||||
|
name: "bgp-cilium-peers"
|
||||||
|
---
|
||||||
apiVersion: cilium.io/v2alpha1
|
apiVersion: cilium.io/v2alpha1
|
||||||
kind: CiliumBGPAdvertisement
|
kind: CiliumBGPAdvertisement
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user