For BGP setup there is the need to set the default gateway to the additional interface defined via the multus annotations. To allow this a user can configure ipam.gateway in the NAD. EnsureNetworksAnnotation() will override the pod network default route by reading the NAD. If ipam.gateway is defined and not "", it gets set on the networks annotation as the default-route.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/openstack-k8s-operators/horizon-operator/blob/main/OWNERS)~~ [abays,stuggi]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
For BGP setup there is the need to set the default gateway to the additional interface defined via the multus annotations. To allow this a user can configure
ipam.gateway
in the NAD. EnsureNetworksAnnotation() will override the pod network default route by reading the NAD. Ifipam.gateway
is defined and not "", it gets set on the networks annotation as thedefault-route
.Jira: https://issues.redhat.com/browse/OSPRH-8680
Depends-On: https://github.com/openstack-k8s-operators/lib-common/pull/579