Compare commits

..

2 Commits

Author SHA1 Message Date
4d6bd42402 Merge pull request 'added volumes to statefulset' (#11) from volumes_statefulset into main
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 9s
Reviewed-on: #11
2024-11-12 09:20:52 +00:00
770ad32c08 added volumes to statefulset 2024-11-12 10:20:21 +01: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 }}