fix_stateful #8

Merged
jonas merged 2 commits from fix_stateful into main 2024-11-11 09:55:52 +00:00
3 changed files with 9 additions and 2 deletions
Showing only changes of commit f924f986a9 - Show all commits

1
.gitignore vendored
View File

@ -5,6 +5,7 @@ bin/*
.project .project
/.bin /.bin
/_test/secrets/*.json /_test/secrets/*.json
*.tgz
# OSX leaves these everywhere on SMB shares # OSX leaves these everywhere on SMB shares
._* ._*

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.2 version: 1.0.3
kubeVersion: ">=1.27.0" kubeVersion: ">=1.27.0"
home: git.rre.nu home: git.rre.nu
sources: sources:

View File

@ -40,8 +40,14 @@ create the environment varable list
resources: resources:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- with .Values.volumeMounts }} {{- if or .Values.volumeMounts .Values.volumeClaimTemplates }}
volumeMounts: volumeMounts:
{{- end }}
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- range $v := .Values.volumeClaimTemplates }}
- name: {{ $v.name }}
mountPath: {{ $v.mountPath }}
{{- end }}
{{- end }} {{- end }}