fix_stateful #8
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@ bin/*
|
||||
.project
|
||||
/.bin
|
||||
/_test/secrets/*.json
|
||||
*.tgz
|
||||
|
||||
# OSX leaves these everywhere on SMB shares
|
||||
._*
|
||||
|
@ -3,7 +3,7 @@ apiVersion: v2
|
||||
name: lib
|
||||
description: Common functions for my helm charts at home
|
||||
type: library
|
||||
version: 1.0.2
|
||||
version: 1.0.3
|
||||
kubeVersion: ">=1.27.0"
|
||||
home: git.rre.nu
|
||||
sources:
|
||||
|
@ -40,8 +40,14 @@ create the environment varable list
|
||||
resources:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- if or .Values.volumeMounts .Values.volumeClaimTemplates }}
|
||||
volumeMounts:
|
||||
{{- end }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- range $v := .Values.volumeClaimTemplates }}
|
||||
- name: {{ $v.name }}
|
||||
mountPath: {{ $v.mountPath }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user