Skip to content

Commit fb499fd

Browse files
authored
[release-1.26] Set stable OLM channels and image tags (#828)
Signed-off-by: Filip Brychta <[email protected]>
1 parent 05d666e commit fb499fd

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
bundle_channels:
1010
description: "Bundle channels"
1111
required: true
12-
default: dev-1.26
12+
default: stable,stable-1.26
1313
is_draft_release:
1414
description: "Draft release"
1515
type: boolean

Makefile.core.mk

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ endif
6767

6868
# Image hub to use
6969
HUB ?= quay.io/sail-dev
70-
# Image tag to use
71-
TAG ?= ${MINOR_VERSION}-latest
70+
# Image tag to use. On release branches this should be the VERSION.
71+
TAG ?= ${VERSION}
7272
# Image base to use
7373
IMAGE_BASE ?= sail-operator
7474
# Image URL to use all building/pushing image targets
@@ -95,9 +95,10 @@ GINKGO_FLAGS ?= $(if $(VERBOSE),-v) $(if $(CI),--no-color) $(if $(COVERAGE),-cov
9595
# To re-generate a bundle for other specific channels without changing the standard setup, you can:
9696
# - use the CHANNELS as arg of the bundle target (e.g make bundle CHANNELS=candidate,fast,stable)
9797
# - use environment variables to overwrite this value (e.g export CHANNELS="candidate,fast,stable")
98-
CHANNEL_PREFIX := dev
98+
CHANNEL_PREFIX := stable
99+
DEFAULT_CHANNEL := stable
99100

100-
CHANNELS ?= $(CHANNEL_PREFIX)-$(MINOR_VERSION)
101+
CHANNELS := $(DEFAULT_CHANNEL),$(CHANNEL_PREFIX)-$(MINOR_VERSION)
101102
ifneq ($(origin CHANNELS), undefined)
102103
BUNDLE_CHANNELS = --channels=\"$(CHANNELS)\"
103104
endif

bundle.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ 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=sailoperator
8-
LABEL operators.operatorframework.io.bundle.channels.v1="dev-1.26"
8+
LABEL operators.operatorframework.io.bundle.channels.v1="stable,stable-1.26"
9+
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
910
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.39.2
1011
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1112
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4

bundle/manifests/sailoperator.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ metadata:
3333
]
3434
capabilities: Seamless Upgrades
3535
categories: OpenShift Optional, Integration & Delivery, Networking, Security
36-
containerImage: quay.io/sail-dev/sail-operator:1.26-latest
37-
createdAt: "2025-05-16T15:47:48Z"
36+
containerImage: quay.io/sail-dev/sail-operator:1.26.0
37+
createdAt: "2025-05-20T14:15:14Z"
3838
description: Experimental operator for installing Istio service mesh
3939
features.operators.openshift.io/cnf: "false"
4040
features.operators.openshift.io/cni: "true"
@@ -760,7 +760,7 @@ spec:
760760
- --zap-log-level=info
761761
command:
762762
- /sail-operator
763-
image: quay.io/sail-dev/sail-operator:1.26-latest
763+
image: quay.io/sail-dev/sail-operator:1.26.0
764764
livenessProbe:
765765
httpGet:
766766
path: /healthz

bundle/metadata/annotations.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ annotations:
44
operators.operatorframework.io.bundle.manifests.v1: manifests/
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: sailoperator
7-
operators.operatorframework.io.bundle.channels.v1: "dev-1.26"
7+
operators.operatorframework.io.bundle.channels.v1: "stable,stable-1.26"
8+
operators.operatorframework.io.bundle.channel.default.v1: stable
89
operators.operatorframework.io.metrics.builder: operator-sdk-v1.39.2
910
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1011
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ csv:
6161
features.operators.openshift.io/cnf: "false"
6262
features.operators.openshift.io/cni: "true"
6363
features.operators.openshift.io/csi: "false"
64-
image: quay.io/sail-dev/sail-operator:1.26-latest
64+
image: quay.io/sail-dev/sail-operator:1.26.0
6565
# We're commenting out the imagePullPolicy to use k8s defaults
6666
# imagePullPolicy: Always
6767
operator:

0 commit comments

Comments
 (0)