github.com/lrills/helm@v2.8.1+incompatible/docs/examples/nginx/templates/configmap.yaml (about)

     1  # This is a simple example of using a config map to create a single page static site.
     2  apiVersion: v1
     3  kind: ConfigMap
     4  metadata:
     5    name: {{ template "nginx.fullname" . }}
     6    labels:
     7      heritage: {{ .Release.Service }}
     8      release: {{ .Release.Name }}
     9      chart: {{ .Chart.Name }}-{{ .Chart.Version }}
    10      app: {{ template "nginx.name" . }}
    11  data:
    12    # When the config map is mounted as a volume, these will be created as files.
    13    index.html: {{ .Values.index | quote }}
    14    test.txt: test