diff --git a/keydb/Chart.yaml b/keydb/Chart.yaml index d6f7279..663a629 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.46.2 +version: 0.46.3 keywords: - keydb - redis diff --git a/keydb/templates/sts.yaml b/keydb/templates/sts.yaml index f631411..9ce339f 100644 --- a/keydb/templates/sts.yaml +++ b/keydb/templates/sts.yaml @@ -275,7 +275,7 @@ spec: path: server.sh {{- if not .Values.persistentVolume.enabled }} - name: keydb-data - emptyDir: {} + emptyDir: {{- toYaml .Values.persistentVolume.emptyDir | nindent 10 }} {{- end }} {{- if .Values.extraVolumes }} {{- toYaml .Values.extraVolumes | nindent 6 }} diff --git a/keydb/values.yaml b/keydb/values.yaml index 82f656d..ed94104 100644 --- a/keydb/values.yaml +++ b/keydb/values.yaml @@ -162,6 +162,9 @@ persistentVolume: ## # storageClass: "-" + # If persistentVolume is disable, use this to configure the empty dir + emptyDir: {} + resources: {} # Please read https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls