Skip to content

Commit

Permalink
Prepare for next version 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Jun 24, 2024
1 parent 2cba320 commit 47e0ba4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Changelog for Cass Operator, new PRs should update the `main / unreleased` secti
* [BUGFIX]
```

## unreleased

## 1.21.1

* [BUGFIX] [#665](https://github.com/k8ssandra/cass-operator/issues/665) The RequiresUpdate and ObservedGenerations were updated too often, even when the reconcile was not finished.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)

VERSION ?= 1.21.1
VERSION ?= 1.22.0

COMMIT := $(shell git rev-parse --short HEAD)
DATE := $(shell date +%Y%m%d)
Expand Down
10 changes: 5 additions & 5 deletions config/manager/image_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ kind: ImageConfig
metadata:
name: image-config
images:
system-logger: "cr.k8ssandra.io/k8ssandra/system-logger:1.21.1"
config-builder: "cr.dtsx.io/datastax/cass-config-builder:1.0-ubi8"
k8ssandra-client: "cr.k8ssandra.io/k8ssandra/k8ssandra-client:v0.4.0"
system-logger: "k8ssandra/system-logger:latest"
config-builder: "datastax/cass-config-builder:1.0-ubi8"
k8ssandra-client: "k8ssandra/k8ssandra-client:v0.4.0"
# cassandra:
# "4.0.0": "k8ssandra/cassandra-ubi:latest"
# dse:
Expand All @@ -17,10 +17,10 @@ images:
defaults:
# Note, postfix is ignored if repository is not set
cassandra:
repository: "cr.k8ssandra.io/k8ssandra/cass-management-api"
repository: "k8ssandra/cass-management-api"
suffix: "-ubi8"
dse:
repository: "cr.dtsx.io/datastax/dse-mgmtapi-6_8"
repository: "datastax/dse-mgmtapi-6_8"
suffix: "-ubi8"
hcd:
repository: "datastax/hcd"
Expand Down
4 changes: 2 additions & 2 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: cr.k8ssandra.io/k8ssandra/cass-operator
newTag: 1.21.1
newName: k8ssandra/cass-operator
newTag: latest
7 changes: 5 additions & 2 deletions scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ next_version() {
for i in {1..3}
do
local PART=$(echo $CURRENT_VERSION | sed -e "s#$RE#\\$i#")
ARRAY_INDEX=$((i-1))
NEXT_VERSION_PARTS[$ARRAY_INDEX]=$PART

if [ $i == $VERSION_PART ]
then
let PART+=1
NEXT_VERSION_PARTS[$ARRAY_INDEX]=$PART
break
fi
ARRAY_INDEX=$((i-1))
NEXT_VERSION_PARTS[$ARRAY_INDEX]=$PART
done

NEXT_VERSION=${NEXT_VERSION_PARTS[0]}.${NEXT_VERSION_PARTS[1]}.${NEXT_VERSION_PARTS[2]}
Expand Down

0 comments on commit 47e0ba4

Please sign in to comment.