Skip to content

Commit

Permalink
Bump MetalLB again
Browse files Browse the repository at this point in the history
Bumping after removing the addresspool leftovers

Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Feb 1, 2024
1 parent 7292c12 commit fee774d
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 77 deletions.
17 changes: 0 additions & 17 deletions bin/metallb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4250,14 +4250,6 @@ rules:
verbs:
- get
- list
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down Expand Up @@ -4372,14 +4364,6 @@ rules:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down Expand Up @@ -4653,7 +4637,6 @@ rules:
- apiGroups:
- apiextensions.k8s.io
resourceNames:
- addresspools.metallb.io
- bfdprofiles.metallb.io
- bgpadvertisements.metallb.io
- bgppeers.metallb.io
Expand Down
19 changes: 1 addition & 18 deletions bundle/manifests/metallb-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ metadata:
categories: Networking
certified: "false"
containerImage: quay.io/metallb/metallb-operator
createdAt: "2024-01-29T17:07:41Z"
createdAt: "2024-02-01T12:58:22Z"
description: An operator for deploying MetalLB on a kubernetes cluster.
operators.operatorframework.io/builder: operator-sdk-v1.26.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
Expand Down Expand Up @@ -405,7 +405,6 @@ spec:
- apiGroups:
- apiextensions.k8s.io
resourceNames:
- addresspools.metallb.io
- bfdprofiles.metallb.io
- bgpadvertisements.metallb.io
- bgppeers.metallb.io
Expand Down Expand Up @@ -845,14 +844,6 @@ spec:
verbs:
- get
- list
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down Expand Up @@ -1002,14 +993,6 @@ spec:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down
4 changes: 0 additions & 4 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ configurations:
- kustomizeconfig.yaml

patches:
- path: patches/crd-conversion-patch-addresspools.yaml
target:
kind: CustomResourceDefinition
name: addresspools.metallb.io
- path: patches/crd-conversion-patch-bgppeers.yaml
target:
kind: CustomResourceDefinition
Expand Down
17 changes: 0 additions & 17 deletions config/metallb_rbac/metallb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@ rules:
verbs:
- get
- list
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down Expand Up @@ -177,14 +169,6 @@ rules:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
- addresspools
verbs:
- get
- list
- watch
- apiGroups:
- metallb.io
resources:
Expand Down Expand Up @@ -422,7 +406,6 @@ rules:
- apiGroups:
- apiextensions.k8s.io
resourceNames:
- addresspools.metallb.io
- bfdprofiles.metallb.io
- bgpadvertisements.metallb.io
- bgppeers.metallb.io
Expand Down
18 changes: 0 additions & 18 deletions config/webhook/webhook/patches/webhook_conversion.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: addresspools.metallb.io
spec:
conversion:
strategy: Webhook
webhook:
conversionReviewVersions: ["v1alpha1", "v1beta1"]
clientConfig:
# this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
# but we're going to set it later using the cert-controller.
caBundle: Cg==
service:
namespace: metallb-system
name: webhook-service
path: /convert
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: bgppeers.metallb.io
spec:
Expand Down
3 changes: 1 addition & 2 deletions hack/generate-metallb-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ ls -d "$METALLB_PATH"/config/crd/bases/* | xargs sed -i '/^---$/d'
ls -d "$METALLB_PATH"/config/crd/bases/* | xargs sed -i '/^$/d'
ls -d "$FRRK8S_PATH"/config/crd/bases/* | xargs sed -i '/^---$/d'
ls -d "$FRRK8S_PATH"/config/crd/bases/* | xargs sed -i '/^$/d'
ls -d config/crd/bases/* | grep -v metallb.io_metallbs | xargs rm
ls -d config/crd/bases/* | grep -v metallb.io_metallbs | xargs rm
cp -r "$METALLB_PATH"/config/crd/bases config/crd
cp -r "$METALLB_PATH"/config/crd/patches/crd-conversion-patch-addresspools.yaml config/crd/patches
cp -r "$METALLB_PATH"/config/crd/patches/crd-conversion-patch-bgppeers.yaml config/crd/patches
cp -r "$METALLB_PATH"/config/webhook config/webhook
cp -r "$FRRK8S_PATH"/config/crd/bases config/crd
Expand Down
2 changes: 1 addition & 1 deletion hack/metallb_ref.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70530782c25d3f89b7d7fbc64d2f43750a8234a6
4633b39e3eb60644eaed1fa2a5eb607ac1531eae

0 comments on commit fee774d

Please sign in to comment.