tigera-operator: sync configuration drift

This commit is contained in:
2025-04-20 21:07:26 +03:00
parent 6d7cdbd9c6
commit 21e70685f3

View File

@@ -9,12 +9,19 @@ spec:
calicoNetwork: calicoNetwork:
# Note: The ipPools section cannot be modified post-install. # Note: The ipPools section cannot be modified post-install.
ipPools: ipPools:
- blockSize: 26 - allowedUses:
- Workload
- Tunnel
blockSize: 26
cidr: 10.244.0.0/16 cidr: 10.244.0.0/16
disableBGPExport: false
disableNewAllocations: false
encapsulation: IPIP
name: default-ipv4-ippool
natOutgoing: Disabled natOutgoing: Disabled
nodeSelector: all() nodeSelector: all()
--- ---
apiVersion: crd.projectcalico.org/v1 apiVersion: projectcalico.org/v3
kind: IPPool kind: IPPool
metadata: metadata:
name: default-ipv4-ippool name: default-ipv4-ippool
@@ -27,7 +34,7 @@ spec:
ipipMode: Always ipipMode: Always
nodeSelector: all() nodeSelector: all()
vxlanMode: Never vxlanMode: Never
natOutgoing: True natOutgoing: true
--- ---
# This section configures the Calico API server. # This section configures the Calico API server.
# For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer # For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer
@@ -37,7 +44,7 @@ metadata:
name: default name: default
spec: {} spec: {}
--- ---
apiVersion: crd.projectcalico.org/v1 apiVersion: projectcalico.org/v3
kind: BGPPeer kind: BGPPeer
metadata: metadata:
name: mikrotik-router name: mikrotik-router
@@ -50,25 +57,25 @@ spec:
name: bgp-secrets name: bgp-secrets
key: password key: password
--- ---
apiVersion: crd.projectcalico.org/v1 apiVersion: projectcalico.org/v3
kind: BGPConfiguration kind: BGPConfiguration
metadata: metadata:
name: default name: default
spec: spec:
serviceLoadBalancerIPs: serviceLoadBalancerIPs:
- cidr: 172.21.51.4/32 - cidr: 172.21.51.4/32
- cidr: 172.21.53.1/32 - cidr: 172.21.53.1/32
- cidr: 172.21.53.2/32 - cidr: 172.21.53.2/32
- cidr: 172.21.53.3/32 - cidr: 172.21.53.3/32
- cidr: 193.40.103.36/32 - cidr: 193.40.103.36/32
- cidr: 193.40.103.37/32 - cidr: 193.40.103.37/32
- cidr: 193.40.103.38/32 - cidr: 193.40.103.38/32
- cidr: 193.40.103.39/32 - cidr: 193.40.103.39/32
- cidr: 62.65.250.36/32 - cidr: 62.65.250.36/32
- cidr: 62.65.250.37/32 - cidr: 62.65.250.37/32
- cidr: 62.65.250.38/32 - cidr: 62.65.250.38/32
- cidr: 62.65.250.2/32 - cidr: 62.65.250.2/32
- cidr: 193.40.103.25/32 - cidr: 193.40.103.25/32
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role