You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace use of CRD image defaults and configuration with global configuration (#1606)
* Replace the use of pkg/images.Image in internal handling, use cass-operators similar struct. Set up ImageRegistry to controllers and use the information from ImageRegistry to set the correct images.
* Modify perNodeConfig to use k8ssandra-client by default
* Remove unused code
* Add scripts to update Kustomize builds based on the changes from cass-operator
* Add CHANGELOG
* Add Helm charts changes (pointing to non-existant cass-operator chart version), go dependency updates
* Restrict ImageConfig loading to the operator namespace
* Update to cass-operator v1.27.0
* Remove flaky nil pointer causing assertion
* Make generate-imageconfig.sh work with MacOS sed also
* Replace cat with yq in the script for more consistent output, modify Helm charts indentation, update patch-image-config
* More Kustomize fixes, add missing component
* Fix medusa image coordinates
* Add new reconcile checkers (generation) for K8ssandraCluster and CassandraDatacenter to the test code, update to Kubernetes 1.33.5
* Fix unit tests, downgrade testify to 1.10.0 to prevent a deadlock
* Kubernetes 1.33.5 and Go 1.24.7
* Update to cass-operator v1.27.1
* Add Release Notes
Copy file name to clipboardExpand all lines: CHANGELOG/CHANGELOG-1.27.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ When cutting a new release, update the `unreleased` heading to the tag being gen
15
15
16
16
## unreleased
17
17
18
+
*[FEATURE][#1605](https://github.com/k8ssandra/k8ssandra-operator/issues/1605) Container images, tags, repositories, registry and pullsecrets and now centrally managed in a ConfigMap with label `k8ssandra.io/config: image`. This is shared with the cass-operator and allows to configure everything from a single place. perNodeConfig is using k8ssandra-client as the image name.
18
19
*[ENHANCEMENT][#1591](https://github.com/k8ssandra/k8ssandra-operator/issues/1591) Remove the old medusa purge cronjob in favor of scheduled tasks
19
20
*[ENHANCEMENT][#1245](https://github.com/k8ssandra/k8ssandra-operator/issues/1245) Ensure ReplicatedSecret targets are cleaned up correctly
20
21
*[BUGFIX][#1603](https://github.com/k8ssandra/k8ssandra-operator/issues/1603) Fix the crd-upgrader to update cass-operator CRDs also as part of the Helm upgrade
Copy file name to clipboardExpand all lines: CHANGELOG/RELEASE-NOTES.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,26 @@
1
1
# k8ssandra-operator - Release Notes
2
2
3
+
## v1.27.0
4
+
5
+
### Modifications to the configuration of images
6
+
7
+
Starting from 1.27.0, the k8ssandra-operator will use the same ImageConfig structure as cass-operator. In the Helm charts, the configuration happens through the global.imageConfig property. It's divided to three sections, with the most important part usually being the `defaults` where we define the properties that are used by all the containers unless otherwise overridden:
8
+
9
+
```
10
+
defaults:
11
+
registry: "docker.io"
12
+
pullPolicy: IfNotPresent
13
+
# -- pullSecrets allow configuring the secret to use for pulling images from private registries.
14
+
# pullSecrets:
15
+
# - my-secret-pull-registry
16
+
```
17
+
18
+
Changing any setting will apply to all images. For example, setting ``--set global.imageConfig.defaults.registry=privateregistry.local`` would pull all the images from `privateregistry.local` instead of `docker.io`. Setting a `pullSecret` would similarly allow pulling all images using that secret instead of having to define it separately for all container types.
19
+
20
+
For more information, see the comments in the [Helm chart of cass-operator](https://github.com/k8ssandra/k8ssandra/blob/main/charts/cass-operator/values.yaml#L17).
21
+
22
+
This also means deprecation of multiple fields in the CRD that were required to modify the image to be used such as `PerNodeConfigInitContainerImage`. To modify the image used by `perNodeConfigInitContainerImage`, modify the `k8ssandra-client` image. For Kustomize installations, the `imageConfig` is available in the `config/cass-operator/imageconfig` directory.
23
+
3
24
## v1.15.0
4
25
5
26
### Deprecation of non-namespace-local MedusaConfigRef
0 commit comments