{{- if not .Values.jsonServer.seedData.existingConfigMap }} apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-configmap data: index.html: | JSON Server

Congrats!

You're successfully running JSON Server
✧*。٩(ˊᗜˋ*)و✧*。

db.json: | {{ include "common.tplvalues.render" ( dict "value" .Values.json-server.seedData.configInline "context" $) | indent 4 }} {{- end -}}