# This is a simple example of using a config map to create a single page
# static site.
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{template "fullname" .}}
  labels:
    release: {{ .Release.Name | quote }}
    app: {{template "fullname" .}}
    heritage: {{.Release.Service | quote }}
data:
  # When the config map is mounted as a volume, these will be created as
  # files.
  index.html: {{default "Hello" .Values.index | quote}}
  test.txt: test