Skip to content

Commit

Permalink
Upgrade k8ssandra-client to fix cassandra.yaml cluster name setting i…
Browse files Browse the repository at this point in the history
…ssue when running 4.1+ (#1114)
  • Loading branch information
adejanovski authored Nov 14, 2023
1 parent 6d4a095 commit 194d0a4
Show file tree
Hide file tree
Showing 11 changed files with 138 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kind_e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
e2e_test:
- CreateSingleDatacenterCluster
- CreateStargateAndDatacenter
- CreateSingleReaper
- CreateSingleReaperNoHttp
- CreateSingleReaperWStargateAndHTTP
- CreateReaperAndDatacenter
- CreateSingleMedusaJob
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG/CHANGELOG-1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ When cutting a new release, update the `unreleased` heading to the tag being gen

## unreleased

* [BUGFIX] [#1110](https://github.com/k8ssandra/k8ssandra-operator/issues/1110) Fix cluster name being set to "Test Cluster" when running Cassandra 4.1+
* [CHANGE] Update to cass-operator v1.18.2

## v1.10.2 - 2023-10-30

* [BUGFIX] Fix manager kustomization to use the correct coordinates for the operator image
Expand Down
2 changes: 1 addition & 1 deletion charts/k8ssandra-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
version: 0.29.0
repository: https://helm.k8ssandra.io
- name: cass-operator
version: 0.45.0
version: 0.45.1
repository: https://helm.k8ssandra.io
home: https://github.com/k8ssandra/k8ssandra-operator
sources:
Expand Down
2 changes: 1 addition & 1 deletion config/cass-operator/cluster-scoped/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.18.1
- github.com/k8ssandra/cass-operator/config/deployments/cluster?ref=v1.18.2

components:
- ../../components/cass-operator-image-config
2 changes: 1 addition & 1 deletion config/cass-operator/ns-scoped/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.18.1
- github.com/k8ssandra/cass-operator/config/deployments/default?ref=v1.18.2

components:
- ../../components/cass-operator-image-config
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: "k8ssandra/system-logger:v1.18.1"
system-logger: "k8ssandra/system-logger:v1.18.2"
config-builder: "datastax/cass-config-builder:1.0.7"
k8ssandra-client: "k8ssandra/k8ssandra-client:v0.2.1"
k8ssandra-client: "k8ssandra/k8ssandra-client:v0.2.2"
# cassandra:
# "4.0.0": "k8ssandra/cassandra-ubi:latest"
# dse:
Expand Down
125 changes: 125 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/test/testenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
const (
clustersToCreate = 3
clusterProtoName = "cluster-%d-%s"
cassOperatorVersion = "v1.18.1"
cassOperatorVersion = "v1.18.2"
prometheusOperatorVersion = "v0.9.0"
)

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestOperator(t *testing.T) {
testFunc: checkStargateApisWithMultiDcCluster,
fixture: framework.NewTestFixture("multi-dc-stargate", controlPlane),
}))
t.Run("CreateSingleReaper", e2eTest(ctx, &e2eTestOpts{
t.Run("CreateSingleReaperNoHttp", e2eTest(ctx, &e2eTestOpts{
testFunc: createSingleReaper,
fixture: framework.NewTestFixture("single-dc-reaper", controlPlane),
skipK8ssandraClusterCleanup: false,
Expand Down
2 changes: 1 addition & 1 deletion test/kuttl/test-servicemonitors/03-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
- name: DSE_MGMT_EXPLICIT_START
value: "true"
name: cassandra
- image: k8ssandra/system-logger:v1.18.1
- image: k8ssandra/system-logger:v1.18.2
name: server-system-logger
status:
readyReplicas: 1
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/fixtures/single-dc-reaper/k8ssandra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
cpu: 100m
memory: 512Mi
cassandra:
serverVersion: "3.11.14"
serverVersion: "4.1.2"
jmxInitContainerImage:
repository: library
name: busybox
Expand Down

0 comments on commit 194d0a4

Please sign in to comment.