Version 2.0.0
This commit is contained in:
26
loop-enterprise-edition/templates/configmaps.yaml
Normal file
26
loop-enterprise-edition/templates/configmaps.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
{{- range $nameSuffix, $values := .Values.configMaps }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" $ }}-{{ $nameSuffix }}
|
||||
annotations:
|
||||
{{- with $values.annotations }}
|
||||
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if $.Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "common.labels.standard" $ | nindent 4 }}
|
||||
{{- if $.Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with $values.labels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with $values.data }}
|
||||
data:
|
||||
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user