diff --git a/CHANGELOG/CHANGELOG-1.10.md b/CHANGELOG/CHANGELOG-1.10.md index 256acf7aa..e9814b7a5 100644 --- a/CHANGELOG/CHANGELOG-1.10.md +++ b/CHANGELOG/CHANGELOG-1.10.md @@ -16,4 +16,5 @@ When cutting a new release, update the `unreleased` heading to the tag being gen ## unreleased * [BUGFIX] [#1060](https://github.com/k8ssandra/k8ssandra-operator/issues/1060) Fix restore mapping shuffling nodes when restoring in place -* [BUGFIX] [#1061](https://github.com/k8ssandra/k8ssandra-operator/issues/1061) Point to cass-config-builder 1.0.7 for arm64 compatibility \ No newline at end of file +* [BUGFIX] [#1061](https://github.com/k8ssandra/k8ssandra-operator/issues/1061) Point to cass-config-builder 1.0.7 for arm64 compatibility +* [ENHANCEMENT] [#1078](https://github.com/k8ssandra/k8ssandra-operator/issues/1078) Add nodeSelector support to crd-upgrader-job-k8ssandra \ No newline at end of file diff --git a/charts/k8ssandra-operator/templates/crd/batch_job.yaml b/charts/k8ssandra-operator/templates/crd/batch_job.yaml index 9c4e5f561..bc5ed42db 100644 --- a/charts/k8ssandra-operator/templates/crd/batch_job.yaml +++ b/charts/k8ssandra-operator/templates/crd/batch_job.yaml @@ -34,3 +34,7 @@ spec: - {{ .Chart.Version }} - --chartName - {{ .Chart.Name }} + {{- with .Values.client.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} \ No newline at end of file diff --git a/charts/k8ssandra-operator/values.yaml b/charts/k8ssandra-operator/values.yaml index 47c24c474..21c836950 100644 --- a/charts/k8ssandra-operator/values.yaml +++ b/charts/k8ssandra-operator/values.yaml @@ -91,3 +91,5 @@ client: tag: latest # -- Pull policy for the client container pullPolicy: IfNotPresent + # -- Node labels for pod assignment + nodeSelector: {} \ No newline at end of file