Skip to content

Commit 4d5d1b6

Browse files
committed
Update operator-sdk to v1.36.1
1 parent 5faed20 commit 4d5d1b6

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ commands:
5454
- run:
5555
name: Install operator-sdk
5656
command: |
57-
export OPERATOR_SDK_RELEASE_VERSION=v1.28.1
57+
export OPERATOR_SDK_RELEASE_VERSION=v1.36.1
5858
curl -JL https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_RELEASE_VERSION}/operator-sdk_linux_amd64 -o operator-sdk
5959
chmod +x operator-sdk && sudo cp operator-sdk /usr/local/bin/operator-sdk && rm operator-sdk
6060

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ cluster/prepare/project:
194194
OPERATOR_SDK = $(PROJECT_PATH)/bin/operator-sdk
195195
# Note: release file patterns changed after v1.2.0
196196
# More info https://sdk.operatorframework.io/docs/installation/
197-
OPERATOR_SDK_VERSION=v1.28.1
197+
OPERATOR_SDK_VERSION=v1.36.1
198198
$(OPERATOR_SDK):
199199
curl -sSL https://github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION)/operator-sdk_$(OS)_$(ARCH) -o $(OPERATOR_SDK)
200200
chmod +x $(OPERATOR_SDK)
@@ -284,14 +284,11 @@ docker-build-only:
284284
# To properly provided solutions that supports more than one platform you should use this option.
285285
PLATFORMS ?= linux/arm64,linux/amd64,linux/s390x,linux/ppc64le
286286
.PHONY: docker-buildx
287-
docker-buildx: test ## Build and push docker image for the manager for cross-platform support
288-
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile
289-
sed -e '1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
287+
docker-buildx: ## Build and push docker image for the manager for cross-platform support
290288
- docker buildx create --name project-v3-builder
291289
docker buildx use project-v3-builder
292-
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile.cross
290+
- docker buildx build --push --platform=$(PLATFORMS) --tag ${IMG} -f Dockerfile .
293291
- docker buildx rm project-v3-builder
294-
rm Dockerfile.cross
295292

296293
# Push the operator docker image
297294
.PHONY: operator-image-push

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=3scale-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.28.1
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.36.1
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
1212

bundle/manifests/3scale-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,12 @@ metadata:
240240
categories: Integration & Delivery
241241
certified: "false"
242242
containerImage: quay.io/3scale/3scale-operator:master
243-
createdAt: "2025-07-02T05:59:07Z"
243+
createdAt: "2025-07-02T06:08:06Z"
244244
description: 3scale Operator to provision 3scale and publish/manage API
245245
operators.openshift.io/infrastructure-features: '["Disconnected"]'
246246
operators.openshift.io/valid-subscription: '["Red Hat Integration", "Red Hat 3scale
247247
API Management"]'
248-
operators.operatorframework.io/builder: operator-sdk-v1.28.1
248+
operators.operatorframework.io/builder: operator-sdk-v1.36.1
249249
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
250250
repository: https://github.com/3scale/3scale-operator
251251
rht_backend_redis_requirements: 7.0.0

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: 3scale-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
8-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.28.1
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.36.1
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
1111

0 commit comments

Comments
 (0)