diff --git a/keydb/Chart.yaml b/keydb/Chart.yaml index cf000a7..ca5411e 100644 --- a/keydb/Chart.yaml +++ b/keydb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: keydb description: A Helm chart for KeyDB multimaster setup type: application -version: 0.25.2 +version: 0.26.0 keywords: - keydb - redis diff --git a/keydb/README.md b/keydb/README.md index 11bca3a..9ff37a4 100644 --- a/keydb/README.md +++ b/keydb/README.md @@ -47,6 +47,7 @@ The following table lists the configurable parameters of the KeyDB chart and the | `annotations` | KeyDB StatefulSet annotations | `{}` | | `podAnnotations` | KeyDB pods annotations | `{}` | | `tolerations` | KeyDB tolerations setting | `{}` | +| `nodeSelector` | KeyDB nodeSelector setting | `{}` | | `additionalAffinities` | Additional affinities for StatefulSet | `{}` | | `extraInitContainers` | Additional init containers for StatefulSet | `[]` | | `extraContainers` | Additional sidecar containers for StatefulSet | `[]` | diff --git a/keydb/templates/sts.yaml b/keydb/templates/sts.yaml index b2fe533..23d368f 100644 --- a/keydb/templates/sts.yaml +++ b/keydb/templates/sts.yaml @@ -138,6 +138,10 @@ spec: tolerations: {{- toYaml .Values.tolerations | nindent 8 }} {{- end }} + {{- if .Values.nodeSelector }} + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 8 }} + {{- end }} volumes: - name: utils secret: diff --git a/keydb/values.yaml b/keydb/values.yaml index 4362c21..2dfd110 100644 --- a/keydb/values.yaml +++ b/keydb/values.yaml @@ -29,6 +29,9 @@ tolerations: {} # key: key # operator: Equal # value: value + +nodeSelector: {} + # topology.kubernetes.io/region: some-region additionalAffinities: {} # nodeAffinity: