added volumes to statefulset

This commit is contained in:
Jonas Forsberg 2024-11-12 10:20:21 +01:00
parent b74e67f3ca
commit 770ad32c08
2 changed files with 5 additions and 1 deletions

View File

@ -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:

View File

@ -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 }}