Files
nplus/charts/pipeliner/templates/defaultconfig.tpl
2025-01-24 16:18:47 +01:00

19 lines
581 B
Smarty

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .component.fullName }}-defaultconfig
{{- if .this.utils.includeNamespace }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
{{- include "nplus.instanceLabels" . | nindent 4 }}
annotations:
{{- include "nplus.argoWave" . | nindent 4 }}
{{- include "nplus.annotations" . | nindent 4 }}
{{- include "nplus.securityAnnotations" . | nindent 4 }}
data:
{{- range $path, $bytes := .Files.Glob "defaultconfig/*" }}
{{- base $path | nindent 2 }}: |
{{- tpl ($.Files.Get $path) $ | nindent 4 }}
{{- end }}