Skip to content

Commit 0c50348

Browse files
Bump operator-framework/helm-operator from v1.29.0 to v1.30.0 (#135)
* Bump operator-framework/helm-operator from v1.29.0 to v1.30.0 Bumps operator-framework/helm-operator from v1.29.0 to v1.30.0. --- updated-dependencies: - dependency-name: operator-framework/helm-operator dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Bump all to 1.30.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luca Comellini <[email protected]>
1 parent 317ba54 commit 0c50348

File tree

7 files changed

+41
-21
lines changed

7 files changed

+41
-21
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/operator-framework/helm-operator:v1.29.0
1+
FROM quay.io/operator-framework/helm-operator:v1.30.0
22

33
ENV HOME=/opt/helm
44
COPY watches.yaml ${HOME}/watches.yaml

Makefile

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ ifeq ($(USE_IMAGE_DIGESTS), true)
4747
BUNDLE_GEN_FLAGS += --use-image-digests
4848
endif
4949

50+
# Set the Operator SDK version to use. By default, what is installed on the system is used.
51+
# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
52+
OPERATOR_SDK_VERSION ?= v1.30.0
53+
5054
# Image URL to use all building/pushing image targets
5155
IMG ?= $(IMAGE_TAG_BASE):$(VERSION)
5256

@@ -147,22 +151,38 @@ ifeq (,$(shell which helm-operator 2>/dev/null))
147151
@{ \
148152
set -e ;\
149153
mkdir -p $(dir $(HELM_OPERATOR)) ;\
150-
curl -sSLo $(HELM_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/v1.29.0/helm-operator_$(OS)_$(ARCH) ;\
154+
curl -sSLo $(HELM_OPERATOR) https://github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION)/helm-operator_$(OS)_$(ARCH) ;\
151155
chmod +x $(HELM_OPERATOR) ;\
152156
}
153157
else
154158
HELM_OPERATOR = $(shell which helm-operator)
155159
endif
156160
endif
157161

162+
.PHONY: operator-sdk
163+
OPERATOR_SDK ?= ./bin/operator-sdk
164+
operator-sdk: ## Download operator-sdk locally if necessary.
165+
ifeq (,$(wildcard $(OPERATOR_SDK)))
166+
ifeq (, $(shell which operator-sdk 2>/dev/null))
167+
@{ \
168+
set -e ;\
169+
mkdir -p $(dir $(OPERATOR_SDK)) ;\
170+
curl -sSLo $(OPERATOR_SDK) https://github.com/operator-framework/operator-sdk/releases/download/$(OPERATOR_SDK_VERSION)/operator-sdk_$(OS)_$(ARCH) ;\
171+
chmod +x $(OPERATOR_SDK) ;\
172+
}
173+
else
174+
OPERATOR_SDK = $(shell which operator-sdk)
175+
endif
176+
endif
177+
158178
.PHONY: bundle
159-
bundle: kustomize ## Generate bundle manifests and metadata, then validate generated files.
160-
operator-sdk generate kustomize manifests --interactive=false -q
179+
bundle: kustomize operator-sdk ## Generate bundle manifests and metadata, then validate generated files.
180+
$(OPERATOR_SDK) generate kustomize manifests --interactive=false -q
161181
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
162-
$(KUSTOMIZE) build config/manifests | operator-sdk generate bundle $(BUNDLE_GEN_FLAGS)
182+
$(KUSTOMIZE) build config/manifests | $(OPERATOR_SDK) generate bundle $(BUNDLE_GEN_FLAGS)
163183
@printf "%s\n" '' 'LABEL com.redhat.openshift.versions="v4.9"' 'LABEL com.redhat.delivery.operator.bundle=true' 'LABEL com.redhat.delivery.backport=true' >> bundle.Dockerfile
164184
@printf "%s\n" '' ' # OpenShift annotations.' ' com.redhat.openshift.versions: v4.9' >> bundle/metadata/annotations.yaml
165-
operator-sdk bundle validate ./bundle
185+
$(OPERATOR_SDK) bundle validate ./bundle
166186

167187
.PHONY: bundle-build
168188
bundle-build: ## Build the bundle image.

bundle/manifests/nginx-ingress-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ metadata:
177177
categories: Monitoring, Networking
178178
certified: "true"
179179
containerImage: quay.io/nginx/nginx-ingress-operator:1.4.2
180-
createdAt: "2023-05-25T21:05:22Z"
180+
createdAt: "2023-06-28T09:38:55Z"
181181
description: The NGINX Ingress Operator is a Kubernetes/OpenShift component which
182182
deploys and manages one or more NGINX/NGINX Plus Ingress Controllers
183183
operatorframework.io/suggested-namespace: nginx-ingress
184-
operators.operatorframework.io/builder: operator-sdk-v1.28.1
184+
operators.operatorframework.io/builder: operator-sdk-v1.30.0
185185
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
186186
repository: https://github.com/nginxinc/nginx-ingress-helm-operator
187187
support: NGINX Inc.

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ annotations:
66
operators.operatorframework.io.bundle.package.v1: nginx-ingress-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
88
operators.operatorframework.io.bundle.channel.default.v1: alpha
9-
operators.operatorframework.io.metrics.builder: operator-sdk-v1.28.1
9+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.30.0
1010
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1111
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
1212

bundle/tests/scorecard/config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stages:
88
- entrypoint:
99
- scorecard-test
1010
- basic-check-spec
11-
image: quay.io/operator-framework/scorecard-test:v1.29.0
11+
image: quay.io/operator-framework/scorecard-test:v1.30.0
1212
labels:
1313
suite: basic
1414
test: basic-check-spec-test
@@ -18,7 +18,7 @@ stages:
1818
- entrypoint:
1919
- scorecard-test
2020
- olm-bundle-validation
21-
image: quay.io/operator-framework/scorecard-test:v1.29.0
21+
image: quay.io/operator-framework/scorecard-test:v1.30.0
2222
labels:
2323
suite: olm
2424
test: olm-bundle-validation-test
@@ -28,7 +28,7 @@ stages:
2828
- entrypoint:
2929
- scorecard-test
3030
- olm-crds-have-validation
31-
image: quay.io/operator-framework/scorecard-test:v1.29.0
31+
image: quay.io/operator-framework/scorecard-test:v1.30.0
3232
labels:
3333
suite: olm
3434
test: olm-crds-have-validation-test
@@ -38,7 +38,7 @@ stages:
3838
- entrypoint:
3939
- scorecard-test
4040
- olm-crds-have-resources
41-
image: quay.io/operator-framework/scorecard-test:v1.29.0
41+
image: quay.io/operator-framework/scorecard-test:v1.30.0
4242
labels:
4343
suite: olm
4444
test: olm-crds-have-resources-test
@@ -48,7 +48,7 @@ stages:
4848
- entrypoint:
4949
- scorecard-test
5050
- olm-spec-descriptors
51-
image: quay.io/operator-framework/scorecard-test:v1.29.0
51+
image: quay.io/operator-framework/scorecard-test:v1.30.0
5252
labels:
5353
suite: olm
5454
test: olm-spec-descriptors-test
@@ -58,7 +58,7 @@ stages:
5858
- entrypoint:
5959
- scorecard-test
6060
- olm-status-descriptors
61-
image: quay.io/operator-framework/scorecard-test:v1.29.0
61+
image: quay.io/operator-framework/scorecard-test:v1.30.0
6262
labels:
6363
suite: olm
6464
test: olm-status-descriptors-test

config/scorecard/patches/basic.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- basic-check-spec
7-
image: quay.io/operator-framework/scorecard-test:v1.29.0
7+
image: quay.io/operator-framework/scorecard-test:v1.30.0
88
labels:
99
suite: basic
1010
test: basic-check-spec-test

config/scorecard/patches/olm.config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entrypoint:
55
- scorecard-test
66
- olm-bundle-validation
7-
image: quay.io/operator-framework/scorecard-test:v1.29.0
7+
image: quay.io/operator-framework/scorecard-test:v1.30.0
88
labels:
99
suite: olm
1010
test: olm-bundle-validation-test
@@ -14,7 +14,7 @@
1414
entrypoint:
1515
- scorecard-test
1616
- olm-crds-have-validation
17-
image: quay.io/operator-framework/scorecard-test:v1.29.0
17+
image: quay.io/operator-framework/scorecard-test:v1.30.0
1818
labels:
1919
suite: olm
2020
test: olm-crds-have-validation-test
@@ -24,7 +24,7 @@
2424
entrypoint:
2525
- scorecard-test
2626
- olm-crds-have-resources
27-
image: quay.io/operator-framework/scorecard-test:v1.29.0
27+
image: quay.io/operator-framework/scorecard-test:v1.30.0
2828
labels:
2929
suite: olm
3030
test: olm-crds-have-resources-test
@@ -34,7 +34,7 @@
3434
entrypoint:
3535
- scorecard-test
3636
- olm-spec-descriptors
37-
image: quay.io/operator-framework/scorecard-test:v1.29.0
37+
image: quay.io/operator-framework/scorecard-test:v1.30.0
3838
labels:
3939
suite: olm
4040
test: olm-spec-descriptors-test
@@ -44,7 +44,7 @@
4444
entrypoint:
4545
- scorecard-test
4646
- olm-status-descriptors
47-
image: quay.io/operator-framework/scorecard-test:v1.29.0
47+
image: quay.io/operator-framework/scorecard-test:v1.30.0
4848
labels:
4949
suite: olm
5050
test: olm-status-descriptors-test

0 commit comments

Comments
 (0)