From 98dd2bd16f1b79ea495214846f5b0989c9348717 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Tue, 31 Dec 2024 18:58:30 -0500 Subject: [PATCH] upgrade metallb v0.14.0 -> v0.14.9 --- manifests/metallb/metallb-native.yaml | 46 +++++++++++++++++---------- manifests/metallb/resources.yaml | 1 + 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/manifests/metallb/metallb-native.yaml b/manifests/metallb/metallb-native.yaml index 8b763bd..48454a6 100644 --- a/manifests/metallb/metallb-native.yaml +++ b/manifests/metallb/metallb-native.yaml @@ -11,7 +11,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: bfdprofiles.metallb.io spec: group: metallb.io @@ -132,7 +132,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: bgpadvertisements.metallb.io spec: group: metallb.io @@ -349,7 +349,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: bgppeers.metallb.io spec: conversion: @@ -385,6 +385,8 @@ spec: - jsonPath: .spec.ebgpMultiHop name: Multi Hops type: string + deprecated: true + deprecationWarning: v1beta1 is deprecated, please use v1beta2 name: v1beta1 schema: openAPIV3Schema: @@ -552,16 +554,27 @@ spec: description: To set if we want to disable MP BGP that will separate IPv4 and IPv6 route exchanges into distinct BGP sessions. type: boolean + dynamicASN: + description: |- + DynamicASN detects the AS number to use for the remote end of the session + without explicitly setting it via the ASN field. Limited to: + internal - if the neighbor's ASN is different than MyASN connection is denied. + external - if the neighbor's ASN is the same as MyASN the connection is denied. + ASN and DynamicASN are mutually exclusive and one of them must be specified. + enum: + - internal + - external + type: string ebgpMultiHop: description: To set if the BGPPeer is multi-hops away. Needed for FRR mode only. type: boolean enableGracefulRestart: description: |- - EnableGracefulRestart allows BGP peer to continue to forward data packets along - known routes while the routing protocol information is being restored. - This field is immutable because it requires restart of the BGP session - Supported for FRR mode only. + EnableGracefulRestart allows BGP peer to continue to forward data packets + along known routes while the routing protocol information is being + restored. This field is immutable because it requires restart of the BGP + session. Supported for FRR mode only. type: boolean x-kubernetes-validations: - message: EnableGracefulRestart cannot be changed after creation @@ -654,7 +667,9 @@ spec: type: object x-kubernetes-map-type: atomic peerASN: - description: AS number to expect from the remote end of the session. + description: |- + AS number to expect from the remote end of the session. + ASN and DynamicASN are mutually exclusive and one of them must be specified. format: int32 maximum: 4294967295 minimum: 0 @@ -681,7 +696,6 @@ spec: type: string required: - myASN - - peerASN - peerAddress type: object status: @@ -697,7 +711,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: communities.metallb.io spec: group: metallb.io @@ -762,7 +776,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: ipaddresspools.metallb.io spec: group: metallb.io @@ -978,7 +992,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: l2advertisements.metallb.io spec: group: metallb.io @@ -1165,7 +1179,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.14.0 + controller-gen.kubebuilder.io/version: v0.16.3 name: servicel2statuses.metallb.io spec: group: metallb.io @@ -1480,7 +1494,6 @@ rules: - metallb-webhook-configuration resources: - validatingwebhookconfigurations - - mutatingwebhookconfigurations verbs: - create - delete @@ -1493,7 +1506,6 @@ rules: - admissionregistration.k8s.io resources: - validatingwebhookconfigurations - - mutatingwebhookconfigurations verbs: - list - watch @@ -1695,7 +1707,7 @@ spec: value: memberlist - name: METALLB_DEPLOYMENT value: controller - image: quay.io/metallb/controller:v0.14.8 + image: quay.io/metallb/controller:v0.14.9 livenessProbe: failureThreshold: 3 httpGet: @@ -1792,7 +1804,7 @@ spec: value: app=metallb,component=speaker - name: METALLB_ML_SECRET_KEY_PATH value: /etc/ml_secret_key - image: quay.io/metallb/speaker:v0.14.8 + image: quay.io/metallb/speaker:v0.14.9 livenessProbe: failureThreshold: 3 httpGet: diff --git a/manifests/metallb/resources.yaml b/manifests/metallb/resources.yaml index d580a68..3a341e5 100644 --- a/manifests/metallb/resources.yaml +++ b/manifests/metallb/resources.yaml @@ -1,3 +1,4 @@ +--- apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: