13 lines
354 B
YAML
13 lines
354 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "dvirlabs-landing.fullname" . }}
|
|
data:
|
|
index.html: |
|
|
{{- $html := .Files.Get "index.html" -}}
|
|
{{- range $key, $val := .Values.links }}
|
|
{{- $placeholder := printf "{{%s}}" $key -}}
|
|
{{- $html = replace $placeholder $val $html -}}
|
|
{{- end }}
|
|
{{- $html | nindent 4 }}
|