From 70a06c69057efde4483d7f3c85d7e40afc78c267 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Tue, 13 Feb 2024 13:22:36 +0000 Subject: [PATCH] release: Prepare release v0.1.0 ``` make prepare-release IMG=quay.io/kuadrant/dns-operator:v0.1.0 VERSION=0.1.0 CHANNELS=stable ``` --- bundle.Dockerfile | 2 +- .../manifests/dns-operator.clusterserviceversion.yaml | 10 +++++----- bundle/metadata/annotations.yaml | 2 +- config/manager/kustomization.yaml | 2 +- .../bases/dns-operator.clusterserviceversion.yaml | 6 +++--- make/release.mk | 6 ++++++ 6 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 make/release.mk diff --git a/bundle.Dockerfile b/bundle.Dockerfile index f778d203..b8d79174 100644 --- a/bundle.Dockerfile +++ b/bundle.Dockerfile @@ -5,7 +5,7 @@ LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ LABEL operators.operatorframework.io.bundle.package.v1=dns-operator -LABEL operators.operatorframework.io.bundle.channels.v1=alpha +LABEL operators.operatorframework.io.bundle.channels.v1=stable LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.33.0 LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v4 diff --git a/bundle/manifests/dns-operator.clusterserviceversion.yaml b/bundle/manifests/dns-operator.clusterserviceversion.yaml index 9f97d0eb..66a83ed9 100644 --- a/bundle/manifests/dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/dns-operator.clusterserviceversion.yaml @@ -70,12 +70,12 @@ metadata: ] capabilities: Basic Install categories: Integration & Delivery - containerImage: quay.io/kuadrant/dns-operator:latest - createdAt: "2024-02-12T20:38:07Z" + containerImage: quay.io/kuadrant/dns-operator:v0.1.0 + createdAt: "2024-02-13T13:20:47Z" operators.operatorframework.io/builder: operator-sdk-v1.33.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 repository: https://github.com/kuadrant/dns-operator - name: dns-operator.v0.0.0 + name: dns-operator.v0.1.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -260,7 +260,7 @@ spec: - --leader-elect command: - /manager - image: quay.io/kuadrant/dns-operator:latest + image: quay.io/kuadrant/dns-operator:v0.1.0 livenessProbe: httpGet: path: /healthz @@ -351,4 +351,4 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + version: 0.1.0 diff --git a/bundle/metadata/annotations.yaml b/bundle/metadata/annotations.yaml index ec617b47..29f47b20 100644 --- a/bundle/metadata/annotations.yaml +++ b/bundle/metadata/annotations.yaml @@ -4,7 +4,7 @@ annotations: operators.operatorframework.io.bundle.manifests.v1: manifests/ operators.operatorframework.io.bundle.metadata.v1: metadata/ operators.operatorframework.io.bundle.package.v1: dns-operator - operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.bundle.channels.v1: stable operators.operatorframework.io.metrics.builder: operator-sdk-v1.33.0 operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v4 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index b0a91934..f79c1d13 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: quay.io/kuadrant/dns-operator - newTag: latest + newTag: v0.1.0 diff --git a/config/manifests/bases/dns-operator.clusterserviceversion.yaml b/config/manifests/bases/dns-operator.clusterserviceversion.yaml index 57deb182..5417afef 100644 --- a/config/manifests/bases/dns-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/dns-operator.clusterserviceversion.yaml @@ -5,9 +5,9 @@ metadata: alm-examples: '[]' capabilities: Basic Install categories: Integration & Delivery - containerImage: quay.io/kuadrant/dns-operator:latest + containerImage: quay.io/kuadrant/dns-operator:v0.1.0 repository: https://github.com/kuadrant/dns-operator - name: dns-operator.v0.0.0 + name: dns-operator.v0.1.0 namespace: placeholder spec: apiservicedefinitions: {} @@ -64,4 +64,4 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + version: 0.1.0 diff --git a/make/release.mk b/make/release.mk new file mode 100644 index 00000000..e43b01bd --- /dev/null +++ b/make/release.mk @@ -0,0 +1,6 @@ +#Release default values +IMG=quay.io/kuadrant/dns-operator:v0.1.0 +CHANNELS=stable +VERSION=0.1.0 +REPLACES_VERSION= +BUNDLE_CHANNELS=--channels=$(CHANNELS)