From 2e5dc760e524eb5d4263d6b8fdbc962a1e6fbf26 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Thu, 24 Oct 2024 12:28:12 +0200 Subject: [PATCH] prepare-release: v0.7.0 --- bundle.Dockerfile | 2 +- .../manifests/dns-operator.clusterserviceversion.yaml | 11 ++++++----- bundle/metadata/annotations.yaml | 2 +- charts/dns-operator/Chart.yaml | 2 +- charts/dns-operator/templates/manifests.yaml | 2 +- config/deploy/olm/catalogsource.yaml | 2 +- config/deploy/olm/subscription.yaml | 2 +- config/manager/kustomization.yaml | 2 +- .../bases/dns-operator.clusterserviceversion.yaml | 7 ++++--- internal/version/version.go | 2 +- make/release.mk | 8 ++++++++ 11 files changed, 26 insertions(+), 16 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 362e24dd..6b551818 100644 --- a/bundle/manifests/dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/dns-operator.clusterserviceversion.yaml @@ -57,14 +57,14 @@ metadata: ] capabilities: Basic Install categories: Integration & Delivery - containerImage: quay.io/kuadrant/dns-operator:latest - createdAt: "2024-10-18T15:21:24Z" + containerImage: quay.io/kuadrant/dns-operator:v0.0.200 + createdAt: "2024-10-24T10:27:56Z" description: A Kubernetes Operator to manage the lifecycle of DNS resources 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 support: kuadrant - name: dns-operator.v0.0.0 + name: dns-operator.v0.0.200 namespace: placeholder spec: apiservicedefinitions: {} @@ -182,7 +182,7 @@ spec: - /manager env: - name: WATCH_NAMESPACES - image: quay.io/kuadrant/dns-operator:latest + image: quay.io/kuadrant/dns-operator:v0.0.200 livenessProbe: httpGet: path: /healthz @@ -276,4 +276,5 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + replaces: dns-operator.v0.6.0 + version: 0.0.200 diff --git a/bundle/metadata/annotations.yaml b/bundle/metadata/annotations.yaml index bbad40c6..c068011f 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/charts/dns-operator/Chart.yaml b/charts/dns-operator/Chart.yaml index ad427da5..623d1cf5 100644 --- a/charts/dns-operator/Chart.yaml +++ b/charts/dns-operator/Chart.yaml @@ -12,7 +12,7 @@ sources: kubeVersion: ">=1.19.0-0" type: application # The version will be properly set when the chart is released matching the operator version -version: "0.0.0" +version: "0.0.200" maintainers: - email: mnairn@redhat.com name: Michael Nairn diff --git a/charts/dns-operator/templates/manifests.yaml b/charts/dns-operator/templates/manifests.yaml index 89cce512..e220b1c5 100644 --- a/charts/dns-operator/templates/manifests.yaml +++ b/charts/dns-operator/templates/manifests.yaml @@ -914,7 +914,7 @@ spec: env: - name: WATCH_NAMESPACES value: "" - image: quay.io/kuadrant/dns-operator:latest + image: quay.io/kuadrant/dns-operator:v0.0.200 livenessProbe: httpGet: path: /healthz diff --git a/config/deploy/olm/catalogsource.yaml b/config/deploy/olm/catalogsource.yaml index 7f67ed83..fbd35985 100644 --- a/config/deploy/olm/catalogsource.yaml +++ b/config/deploy/olm/catalogsource.yaml @@ -4,6 +4,6 @@ metadata: name: dns-operator-catalog spec: sourceType: grpc - image: quay.io/kuadrant/dns-operator-catalog:latest + image: quay.io/kuadrant/dns-operator-catalog:v0.0.200 displayName: DNS Operators publisher: grpc diff --git a/config/deploy/olm/subscription.yaml b/config/deploy/olm/subscription.yaml index 141ebab5..39ddb2c0 100644 --- a/config/deploy/olm/subscription.yaml +++ b/config/deploy/olm/subscription.yaml @@ -6,4 +6,4 @@ spec: source: dns-operator-catalog sourceNamespace: dns-operator-system name: dns-operator - channel: "alpha" + channel: "stable" diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index a2d3dac0..fafebdff 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -7,4 +7,4 @@ kind: Kustomization images: - name: controller newName: quay.io/kuadrant/dns-operator - newTag: latest + newTag: v0.0.200 diff --git a/config/manifests/bases/dns-operator.clusterserviceversion.yaml b/config/manifests/bases/dns-operator.clusterserviceversion.yaml index cb6132fb..e44cfc39 100644 --- a/config/manifests/bases/dns-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/dns-operator.clusterserviceversion.yaml @@ -5,11 +5,11 @@ metadata: alm-examples: '[]' capabilities: Basic Install categories: Integration & Delivery - containerImage: quay.io/kuadrant/dns-operator:latest + containerImage: quay.io/kuadrant/dns-operator:v0.0.200 description: A Kubernetes Operator to manage the lifecycle of DNS resources repository: https://github.com/kuadrant/dns-operator support: kuadrant - name: dns-operator.v0.0.0 + name: dns-operator.v0.0.200 namespace: placeholder spec: apiservicedefinitions: {} @@ -61,4 +61,5 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + replaces: dns-operator.v0.6.0 + version: 0.0.200 diff --git a/internal/version/version.go b/internal/version/version.go index e8a5d0db..461240c1 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -17,5 +17,5 @@ package version var ( // This variable is dependent on what the current release is e.g. if it is v0.10.0 then this variable, outside of releases, will be v0.10.1-dev . - Version = "0.4.0-dev" // Change as versions are released + Version = "v0.0.200" // Change as versions are released ) diff --git a/make/release.mk b/make/release.mk new file mode 100644 index 00000000..0bed7d50 --- /dev/null +++ b/make/release.mk @@ -0,0 +1,8 @@ +#Release default values +IMG=quay.io/kuadrant/dns-operator:v0.0.200 +BUNDLE_IMG=quay.io/kuadrant/dns-operator-bundle:v0.0.200 +CATALOG_IMG=quay.io/kuadrant/dns-operator-catalog:v0.0.200 +CHANNELS=stable +BUNDLE_CHANNELS=--channels=stable +VERSION=0.0.200 +REPLACES_VERSION=0.6.0