From 4868ef32667eb8d35acaeb5b7f3ab0d2b0cf35ca Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Thu, 30 May 2024 13:33:56 +0300 Subject: [PATCH] Release v1.21.0 --- CHANGELOG.md | 2 +- README.md | 18 +++++++++--------- config/manager/image_config.yaml | 10 +++++----- config/manager/kustomization.yaml | 4 ++-- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 200afe50..320393eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Changelog for Cass Operator, new PRs should update the `main / unreleased` secti * [BUGFIX] ``` -## unreleased +## v1.21.0 * [FEATURE] [#659](https://github.com/k8ssandra/cass-operator/issues/659) Add support for HCD serverType with versions 1.x.x. It will be deployed like Cassandra >= 4.1 for now. * [FEATURE] [#660](https://github.com/k8ssandra/cass-operator/issues/660) Add support for DSE version 6.9.x and remove support for DSE 7.x.x. DSE 6.9 will be deployed like DSE 6.8. diff --git a/README.md b/README.md index 31392352..1dbbcb1f 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ Default installation is simple, the kubectl will create a namespace ``cass-opera Default install requires cert-manager to be installed, since webhooks require TLS certificates to be injected. See below how to install cert-manager if your environment does not have it installed previously. ```console -kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.20.0 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.0 ``` If you wish to install it with cluster wide rights to monitor all the namespaces for ``CassandraDatacenter`` objects, use the following command: ```console -kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.20.0 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.21.0 ``` Alternatively, if you checkout the code, you can use ``make deploy`` to run [Kustomize](https://kustomize.io/) and deploy the files. @@ -61,7 +61,7 @@ cass-operator-555577b9f8-zgx6j 1/1 Running 0 25h If you have Prometheus installed in your cluster, you can apply the following command to install the Prometheus support: ```console -kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=v1.20.0 +kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=v1.21.0 ``` #### Install cert-manager @@ -83,10 +83,10 @@ kind: Kustomization namespace: cass-operator resources: - - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.20.0 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.0 components: - - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.20.0 + - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.21.0 ``` We provide both components to modify the installation as well as some additional resources for custom features. At the moment, you can modify the behavior of the installation in the following ways, or remove a component to @@ -121,7 +121,7 @@ kind: ImageConfig metadata: name: image-config images: - system-logger: "k8ssandra/system-logger:v1.20.0" + system-logger: "k8ssandra/system-logger:v1.21.0" config-builder: "datastax/cass-config-builder:1.0-ubi7" imageRegistry: "localhost:5000" defaults: @@ -152,7 +152,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.20.0 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.0 components: - components/private_image_config @@ -164,7 +164,7 @@ If you also wish to load the cass-operator from a different path, you will need images: - name: controller newName: localhost:5000/k8ssandra/cass-operator - newTag: v1.20.0 + newTag: v1.21.0 ``` Run ``kubectl apply -k our_installation`` to install cass-operator. @@ -253,7 +253,7 @@ reclaimPolicy: Delete Paste the above to a file and apply: ``` -kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/v1.20.0/operator/k8s-flavors/gke/storage.yaml +kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/v1.21.0/operator/k8s-flavors/gke/storage.yaml ``` ### Creating a CassandraDatacenter diff --git a/config/manager/image_config.yaml b/config/manager/image_config.yaml index 2d2de737..5e5cc523 100644 --- a/config/manager/image_config.yaml +++ b/config/manager/image_config.yaml @@ -3,9 +3,9 @@ kind: ImageConfig metadata: name: image-config images: - system-logger: "k8ssandra/system-logger:latest" - config-builder: "datastax/cass-config-builder:1.0-ubi8" - k8ssandra-client: "k8ssandra/k8ssandra-client:v0.4.0" + system-logger: "cr.k8ssandra.io/k8ssandra/system-logger:v1.21.0" + config-builder: "cr.dtsx.io/datastax/cass-config-builder:1.0-ubi8" + k8ssandra-client: "cr.k8ssandra.io/k8ssandra/k8ssandra-client:v0.4.0" # cassandra: # "4.0.0": "k8ssandra/cassandra-ubi:latest" # dse: @@ -17,10 +17,10 @@ images: defaults: # Note, postfix is ignored if repository is not set cassandra: - repository: "k8ssandra/cass-management-api" + repository: "cr.k8ssandra.io/k8ssandra/cass-management-api" suffix: "-ubi8" dse: - repository: "datastax/dse-mgmtapi-6_8" + repository: "cr.dtsx.io/datastax/dse-mgmtapi-6_8" suffix: "-ubi8" hcd: repository: "datastax/hcd" diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 7621efda..cbee845c 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -13,5 +13,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: - name: controller - newName: k8ssandra/cass-operator - newTag: latest + newName: cr.k8ssandra.io/k8ssandra/cass-operator + newTag: v1.21.0