peridot/infrastructure/dev-helm/temporal/templates/server-dynamicconfigmap.yaml

19 lines
646 B
YAML
Raw Permalink Normal View History

2022-07-07 20:11:50 +00:00
{{- if $.Values.server.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ include "temporal.fullname" . }}-dynamic-config"
labels:
app.kubernetes.io/name: {{ include "temporal.name" . }}
helm.sh/chart: {{ include "temporal.chart" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/part-of: {{ .Chart.Name }}
data:
dynamic_config.yaml: |-
{{- if $.Values.server.dynamicConfig }}
{{- toYaml .Values.server.dynamicConfig | nindent 4 }}
{{- end }}
{{- end }}