Skip to content

Commit

Permalink
Prepare for next version 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Oct 25, 2023
1 parent 3842048 commit 9237453
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 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

## v1.18.0

* [CHANGE] [#479](https://github.com/k8ssandra/cass-operator/issues/479) Set the default deployed DSE image to use our newer management-api by changing the repository to datastax/dse-mgmtapi-6_8
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.18.0
VERSION ?= 1.19.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:v1.18.0"
config-builder: "cr.dtsx.io/datastax/cass-config-builder:1.0-ubi7"
k8ssandra-client: "cr.k8ssandra.io/k8ssandra/k8ssandra-client:v0.2.1"
system-logger: "k8ssandra/system-logger:latest"
config-builder: "datastax/cass-config-builder:1.0-ubi7"
k8ssandra-client: "k8ssandra/k8ssandra-client:v0.2.1"
# cassandra:
# "4.0.0": "k8ssandra/cassandra-ubi:latest"
# dse:
Expand All @@ -17,8 +17,8 @@ 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"
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: v1.18.0
newName: k8ssandra/cass-operator
newTag: latest
10 changes: 10 additions & 0 deletions scripts/post-release-process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ cd config/manager && $KUSTOMIZE edit set image controller=$IMG && cd -
# Return config/manager/image_config.yaml to :latest
LOG_IMG=k8ssandra/system-logger:latest yq eval -i '.images.system-logger = env(LOG_IMG)' config/manager/image_config.yaml

# Remove cr.k8ssandra.io prefixes
yq eval -i '.images.k8ssandra-client |= sub("cr.k8ssandra.io/", "")' config/manager/image_config.yaml
yq eval -i '.defaults.cassandra.repository |= sub("cr.k8ssandra.io/", "")' config/manager/image_config.yaml

# Remove cr.dstx.io prefixes
yq eval -i '.images.config-builder |= sub("cr.dtsx.io/", "")' config/manager/image_config.yaml
yq eval -i '.defaults.dse.repository |= sub("cr.dtsx.io/", "")' config/manager/image_config.yaml



# Commit to git
NEXT_VERSION=$(gawk 'match($0, /^VERSION \?= /) { print substr($0, RLENGTH+1)}' Makefile)

Expand Down

0 comments on commit 9237453

Please sign in to comment.