From a11f22b7966fcc80221e11dd09428375bdf0cb25 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Mon, 22 Jul 2024 16:58:01 +0300 Subject: [PATCH] Release v1.22.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 78413ba0..7f2affa0 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.22.0 * [FEATURE] [#263]((https://github.com/k8ssandra/cass-operator/issues/263) Allow increasing the size of CassandraDataVolumeClaimSpec if the selected StorageClass supports it. This feature is currently behind a opt-in feature flag and requires an annotation ``cassandra.datastax.com/allow-storage-changes: true`` to be set in the CassandraDatacenter. * [FEATURE] [#646](https://github.com/k8ssandra/cass-operator/issues/646) Allow starting multiple parallel pods if they have already previously bootstrapped and not planned for replacement. Set annotation ``cassandra.datastax.com/allow-parallel-starts: true`` to enable this feature. diff --git a/README.md b/README.md index 3a41c409..6eca451d 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.21.1 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.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.21.1 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.22.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.21.1 +kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=v1.22.0 ``` #### Install cert-manager @@ -83,10 +83,10 @@ kind: Kustomization namespace: cass-operator resources: - - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.21.1 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.0 components: - - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.21.1 + - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.22.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.21.1" + system-logger: "k8ssandra/system-logger:v1.22.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.21.1 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.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.21.1 + newTag: v1.22.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.21.1/operator/k8s-flavors/gke/storage.yaml +kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/v1.22.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..72fede6d 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.22.0" + config-builder: "cr.dtsx.io/datastax/cass-config-builder:1.0-ubi8" + k8ssandra-client: "cr.k8ssandra.io/k8ssandra/k8ssandra-client:v0.5.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..2f01402b 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.22.0