Skip to content

Commit

Permalink
update manifests after bump
Browse files Browse the repository at this point in the history
operato-sdk v1.38.0 moves to Kubernetes 1.30 API's and Kubebuilder v4 Scaffolding,

Signed-off-by: karampok <karampok@gmail.com>
  • Loading branch information
karampok committed Feb 7, 2025
1 parent 8013c0f commit b17e919
Show file tree
Hide file tree
Showing 11 changed files with 1,663 additions and 1,253 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ else
GOBIN=$(shell go env GOBIN)
endif

OPERATOR_SDK_VERSION ?= v1.34.1
OPERATOR_SDK_VERSION ?= v1.38.0
OLM_VERSION ?= v0.18.3
OPM_VERSION ?= v1.23.2
KUSTOMIZE_VERSION ?= v5.0.1
KUSTOMIZE_VERSION ?= v5.5.0
KUSTOMIZE=$(shell pwd)/_cache/kustomize
KIND ?= $(shell pwd)/_cache/kind
KIND_VERSION=v0.22.0
KIND_VERSION=v0.23.0
CACHE_PATH=$(shell pwd)/_cache


Expand Down
1 change: 0 additions & 1 deletion api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

361 changes: 345 additions & 16 deletions bin/metallb-operator.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=metallb-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.34.1
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.38.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

Expand Down
17 changes: 15 additions & 2 deletions bundle/manifests/metallb-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ metadata:
categories: Networking
certified: "false"
containerImage: quay.io/metallb/metallb-operator
createdAt: "2024-12-16T10:14:17Z"
createdAt: "2025-02-07T13:20:57Z"
description: An operator for deploying MetalLB on a kubernetes cluster.
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/builder: operator-sdk-v1.38.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
repository: https://github.com/metallb/metallb-operator
support: Community
Expand Down Expand Up @@ -706,6 +706,19 @@ spec:
- get
- list
- watch
- apiGroups:
- apps
resources:
- daemonsets
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- config.openshift.io
resources:
Expand Down
348 changes: 332 additions & 16 deletions bundle/manifests/metallb.io_metallbs.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ annotations:
operators.operatorframework.io.bundle.metadata.v1: metadata/
operators.operatorframework.io.bundle.package.v1: metallb-operator
operators.operatorframework.io.bundle.channels.v1: alpha
operators.operatorframework.io.metrics.builder: operator-sdk-v1.34.1
operators.operatorframework.io.metrics.builder: operator-sdk-v1.38.0
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4

Expand Down
2,162 changes: 952 additions & 1,210 deletions config/crd/bases/metallb.io_metallbs.yaml

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: metallb-manager-role
rules:
- apiGroups:
Expand Down Expand Up @@ -37,6 +36,19 @@ rules:
- get
- list
- watch
- apiGroups:
- apps
resources:
- daemonsets
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- config.openshift.io
resources:
Expand Down Expand Up @@ -123,7 +135,6 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
name: metallb-manager-role
namespace: metallb-system
rules:
Expand Down
1 change: 0 additions & 1 deletion config/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
name: metallb-operator-webhook-configuration
webhooks:
- admissionReviewVersions:
Expand Down
1 change: 1 addition & 0 deletions controllers/metallb_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ var EmbeddedFRRK8sSupportNotAvailable = errors.New("current CNO version does not
// +kubebuilder:rbac:groups="",namespace=metallb-system,resources=configmaps,verbs=get;list;watch;create;update;patch;delete

// Cluster Scoped
// +kubebuilder:rbac:groups=apps,resources=deployments;daemonsets,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=metallb.io,resources=metallbs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=metallb.io,resources=metallbs/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=policy,resources=podsecuritypolicies,verbs=get;list;watch;create;update;patch;delete
Expand Down

0 comments on commit b17e919

Please sign in to comment.