File tree 1 file changed +12
-1
lines changed
bindata/network/ovn-kubernetes/common
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -584,6 +584,15 @@ data:
584
584
ovn_v6_join_subnet_opt="--gateway-v6-join-subnet {{.V6JoinSubnet}}"
585
585
fi
586
586
587
+ ovn_v4_transit_switch_subnet_opt=
588
+ if [[ "{{.V4TransitSwitchSubnet}}" != "" ]]; then
589
+ ovn_v4_transit_switch_subnet_opt="--cluster-manager-v4-transit-switch-subnet {{.V4TransitSwitchSubnet}}"
590
+ fi
591
+ ovn_v6_transit_switch_subnet_opt=
592
+ if [[ "{{.V6TransitSwitchSubnet}}" != "" ]]; then
593
+ ovn_v6_transit_switch_subnet_opt="--cluster-manager-v6-transit-switch-subnet {{.V6TransitSwitchSubnet}}"
594
+ fi
595
+
587
596
exec /usr/bin/ovnkube \
588
597
--init-ovnkube-controller "${K8S_NODE}" \
589
598
--init-node "${K8S_NODE}" \
@@ -615,5 +624,7 @@ data:
615
624
${ip_forwarding_flag} \
616
625
${NETWORK_NODE_IDENTITY_ENABLE} \
617
626
${ovn_v4_join_subnet_opt} \
618
- ${ovn_v6_join_subnet_opt}
627
+ ${ovn_v6_join_subnet_opt} \
628
+ ${ovn_v4_transit_switch_subnet_opt} \
629
+ ${ovn_v6_transit_switch_subnet_opt}
619
630
}
You can’t perform that action at this time.
0 commit comments