mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Added template library helm chart
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{{- define "template.secret" -}}
|
||||
{{- if .Values.secrets }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "template.fullname" . }}
|
||||
labels:
|
||||
{{- include "template.labels" . | nindent 4 }}
|
||||
stringData:
|
||||
{{- with .Values.secrets }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user