TrueChartsCatalogClone/stable/ring-mqtt/7.3.0/templates/_configmap.tpl

14 lines
265 B
Smarty
Raw Normal View History

{{/* Define the configmap */}}
{{- define "ring.configmaps" -}}
{{- $fullname := (include "tc.v1.common.lib.chart.names.fullname" $) -}}
{{- $ring := .Values.ring -}}
ring-config:
enabled: true
data:
config.json: |
{{ $ring | toJson }}
{{- end -}}