From d736c6a04371fa5ae034202869d7f5c84b59cf0f Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Fri, 30 Aug 2024 17:55:25 +0300 Subject: [PATCH] Release v1.22.1 --- 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 0d611b1f..a80b6d97 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.1 * [BUGFIX] [#687](https://github.com/k8ssandra/cass-operator/issues/687) Prevent a crash when when StorageClassName was not set in the CassandraDataVolumeClaimSpec * [CHANGE] [#689](https://github.com/k8ssandra/cass-operator/issues/689) Allow k8ssandra.io labels and annotations in services config diff --git a/README.md b/README.md index 6eca451d..bf5f9b83 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.22.0 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.1 ``` 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.22.0 +kubectl apply --force-conflicts --server-side -k github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.22.1 ``` 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.22.0 +kubectl apply -k github.com/k8ssandra/cass-operator/config/prometheus?ref=v1.22.1 ``` #### Install cert-manager @@ -83,10 +83,10 @@ kind: Kustomization namespace: cass-operator resources: - - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.0 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.1 components: - - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.22.0 + - github.com/k8ssandra/cass-operator/config/components/cluster?ref=v1.22.1 ``` 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.22.0" + system-logger: "k8ssandra/system-logger:v1.22.1" 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.22.0 + - github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.22.1 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.22.0 + newTag: v1.22.1 ``` 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.22.0/operator/k8s-flavors/gke/storage.yaml +kubectl apply -f https://raw.githubusercontent.com/k8ssandra/cass-operator/v1.22.1/operator/k8s-flavors/gke/storage.yaml ``` ### Creating a CassandraDatacenter diff --git a/config/manager/image_config.yaml b/config/manager/image_config.yaml index 04aed7f0..e702c0a8 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.5.0" + system-logger: "cr.k8ssandra.io/k8ssandra/system-logger:v1.22.1" + 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..2dffb64e 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.1