diff --git a/Chart.yaml b/Chart.yaml index a68f376..ab1089a 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 name: lib description: Common functions for my helm charts at home type: library -version: 1.0.3 +version: 1.0.4 kubeVersion: ">=1.27.0" home: git.rre.nu sources: diff --git a/templates/_statefulset.tpl b/templates/_statefulset.tpl index b19fd04..dd0baa4 100644 --- a/templates/_statefulset.tpl +++ b/templates/_statefulset.tpl @@ -36,6 +36,10 @@ spec: {{- toYaml .Values.controller.podSecurityContext | nindent 8 }} containers: {{- include "lib.parts.container" . | nindent 8 -}} + {{- with .Values.volumes }} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}