Skip to content

Commit 2b44292

Browse files
authored
Install kustomize before building bundle (#287)
* Install kustomize before building bundle Signed-off-by: leochr <[email protected]> * Update channels Signed-off-by: leochr <[email protected]>
1 parent a045c1c commit 2b44292

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PUBLISH_REGISTRY=docker.io
1414
BUNDLE_IMG ?= applicationstacks/operator:bundle-daily
1515

1616
# Options for 'bundle-build'
17-
CHANNELS ?= beta,beta2
17+
CHANNELS ?= beta2
1818
DEFAULT_CHANNEL ?= beta2
1919
ifneq ($(origin CHANNELS), undefined)
2020
BUNDLE_CHANNELS := --channels=$(CHANNELS)
@@ -180,7 +180,7 @@ install-podman:
180180
install-opm:
181181
./scripts/installers/install-opm.sh
182182

183-
bundle-build-podman: bundle
183+
bundle-build-podman:
184184
podman build -f bundle.Dockerfile -t "${BUNDLE_IMG}"
185185

186186
bundle-push-podman:

bundle.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
55
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=runtime-component
8-
LABEL operators.operatorframework.io.bundle.channels.v1=beta,beta2
8+
LABEL operators.operatorframework.io.bundle.channels.v1=beta2
99
LABEL operators.operatorframework.io.bundle.channel.default.v1=beta2
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.6.1+git

bundle/metadata/annotations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ annotations:
44
operators.operatorframework.io.bundle.manifests.v1: manifests/
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: runtime-component
7-
operators.operatorframework.io.bundle.channels.v1: beta,beta2
7+
operators.operatorframework.io.bundle.channels.v1: beta2
88
operators.operatorframework.io.bundle.channel.default.v1: beta2
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.builder: operator-sdk-v1.6.1+git

scripts/bundle-releases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ bundle_release() {
6363

6464
# Build the bundle
6565
local bundle_ref="${IMAGE}:bundle-${release_tag}"
66-
make bundle-build-podman bundle-push-podman IMG="${operator_ref}" BUNDLE_IMG="${bundle_ref}"
66+
make kustomize bundle bundle-build-podman bundle-push-podman IMG="${operator_ref}" BUNDLE_IMG="${bundle_ref}"
6767

6868
# Build the catalog
6969
local catalog_ref="${IMAGE}:catalog-${release_tag}"

0 commit comments

Comments
 (0)