added volumes to statefulset #11

Merged
jonas merged 1 commits from volumes_statefulset into main 2024-11-12 09:20:52 +00:00
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
name: lib name: lib
description: Common functions for my helm charts at home description: Common functions for my helm charts at home
type: library type: library
version: 1.0.3 version: 1.0.4
kubeVersion: ">=1.27.0" kubeVersion: ">=1.27.0"
home: git.rre.nu home: git.rre.nu
sources: sources:

View File

@ -36,6 +36,10 @@ spec:
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }} {{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
containers: containers:
{{- include "lib.parts.container" . | nindent 8 -}} {{- include "lib.parts.container" . | nindent 8 -}}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}