From c7cd402baa6c26bb95f74ed673351d309bdd0997 Mon Sep 17 00:00:00 2001 From: craig Date: Wed, 21 Aug 2024 08:11:30 +0100 Subject: [PATCH] prepare-release: release-0.5 Signed-off-by: craig --- .../manifests/dns-operator.clusterserviceversion.yaml | 11 ++++++----- charts/dns-operator/Chart.yaml | 2 +- charts/dns-operator/templates/manifests.yaml | 2 +- config/deploy/olm/catalogsource.yaml | 2 +- config/manager/kustomization.yaml | 4 +--- .../bases/dns-operator.clusterserviceversion.yaml | 7 ++++--- make/release.mk | 8 ++++++++ 7 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 make/release.mk diff --git a/bundle/manifests/dns-operator.clusterserviceversion.yaml b/bundle/manifests/dns-operator.clusterserviceversion.yaml index 51e201ae..86e72417 100644 --- a/bundle/manifests/dns-operator.clusterserviceversion.yaml +++ b/bundle/manifests/dns-operator.clusterserviceversion.yaml @@ -37,14 +37,14 @@ metadata: ] capabilities: Basic Install categories: Integration & Delivery - containerImage: quay.io/kuadrant/dns-operator:latest - createdAt: "2024-08-13T17:16:20Z" + containerImage: quay.io/kuadrant/dns-operator:release-0.5 + createdAt: "2024-08-21T07:10:21Z" 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.5.0-dev namespace: placeholder spec: apiservicedefinitions: {} @@ -130,7 +130,7 @@ spec: - /manager env: - name: WATCH_NAMESPACES - image: quay.io/kuadrant/dns-operator:latest + image: quay.io/kuadrant/dns-operator:release-0.5 livenessProbe: httpGet: path: /healthz @@ -224,4 +224,5 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + replaces: dns-operator.v0.4.1 + version: 0.5.0-dev diff --git a/charts/dns-operator/Chart.yaml b/charts/dns-operator/Chart.yaml index ad427da5..cc3055b3 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.5.0-dev" 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 3a8561a6..85c1ccad 100644 --- a/charts/dns-operator/templates/manifests.yaml +++ b/charts/dns-operator/templates/manifests.yaml @@ -701,7 +701,7 @@ spec: env: - name: WATCH_NAMESPACES value: "" - image: quay.io/kuadrant/dns-operator:latest + image: quay.io/kuadrant/dns-operator:v0.5.0-dev livenessProbe: httpGet: path: /healthz diff --git a/config/deploy/olm/catalogsource.yaml b/config/deploy/olm/catalogsource.yaml index 7f67ed83..3704ab94 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:release-0.5 displayName: DNS Operators publisher: grpc diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 124ab889..ee0524f0 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -7,6 +7,4 @@ kind: Kustomization images: - name: controller newName: quay.io/kuadrant/dns-operator - newTag: remove_managed_zone_api - -#ToDo mnairn: Revert tag before merge + newTag: v0.5.0-dev diff --git a/config/manifests/bases/dns-operator.clusterserviceversion.yaml b/config/manifests/bases/dns-operator.clusterserviceversion.yaml index 5a826fe9..3092b530 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:release-0.5 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.5.0-dev namespace: placeholder spec: apiservicedefinitions: {} @@ -55,4 +55,5 @@ spec: minKubeVersion: 1.8.0 provider: name: Red Hat - version: 0.0.0 + replaces: dns-operator.v0.4.1 + version: 0.5.0-dev diff --git a/make/release.mk b/make/release.mk new file mode 100644 index 00000000..a7862499 --- /dev/null +++ b/make/release.mk @@ -0,0 +1,8 @@ +#Release default values +IMG=quay.io/kuadrant/dns-operator:release-0.5 +BUNDLE_IMG=quay.io/kuadrant/dns-operator-bundle:release-0.5 +CATALOG_IMG=quay.io/kuadrant/dns-operator-catalog:release-0.5 +CHANNELS=alpha +BUNDLE_CHANNELS=--channels=alpha +VERSION=0.5.0-dev +REPLACES_VERSION=0.4.1