File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ func KindNet(repo string) string {
185185}
186186
187187// all calico images are from https://github.com/projectcalico/calico/blob/master/manifests/calico.yaml
188- const calicoVersion = "v3.30.1 "
188+ const calicoVersion = "v3.30.2 "
189189const calicoRepo = "docker.io/calico"
190190
191191// CalicoDaemonSet returns the image used for calicoDaemonSet
Original file line number Diff line number Diff line change @@ -525,6 +525,8 @@ spec:
525525 Option to keep the original nexthop field when routes are sent to a BGP Peer.
526526 Setting "true" configures the selected BGP Peers node to use the "next hop keep;"
527527 instead of "next hop self;"(default) in the specific branch of the Node on "bird.cfg".
528+ Note: that this field is deprecated. Users should use the NextHopMode field to control
529+ the next hop attribute for a BGP peer.
528530 type: boolean
529531 localWorkloadSelector:
530532 description: |-
@@ -536,6 +538,26 @@ spec:
536538 Time to allow for software restart. When specified, this is configured as the graceful
537539 restart timeout. When not specified, the BIRD default of 120s is used.
538540 type: string
541+ nextHopMode:
542+ allOf:
543+ - enum:
544+ - Auto
545+ - Self
546+ - Keep
547+ - enum:
548+ - Auto
549+ - Self
550+ - Keep
551+ description: |-
552+ NextHopMode defines the method of calculating the next hop attribute for received routes.
553+ This replaces and expands the deprecated KeepOriginalNextHop field.
554+ Users should use this setting to control the next hop attribute for a BGP peer.
555+ When this is set, the value of the KeepOriginalNextHop field is ignored.
556+ if neither keepOriginalNextHop or nextHopMode is specified, BGP's default behaviour is used.
557+ Set it to “Auto” to apply BGP’s default behaviour.
558+ Set it to "Self" to configure "next hop self;" in "bird.cfg".
559+ Set it to "Keep" to configure "next hop keep;" in "bird.cfg".
560+ type: string
539561 node:
540562 description: |-
541563 The node name identifying the Calico node instance that is targeted by this peer.
You can’t perform that action at this time.
0 commit comments