github.com/zoumo/helm@v2.5.0+incompatible/docs/examples/nginx/templates/configmap.yaml (about) 1 # This is a simple example of using a config map to create a single page 2 # static site. 3 apiVersion: v1 4 kind: ConfigMap 5 metadata: 6 name: {{template "fullname" .}} 7 labels: 8 release: {{ .Release.Name | quote }} 9 app: {{template "fullname" .}} 10 heritage: {{.Release.Service | quote }} 11 data: 12 # When the config map is mounted as a volume, these will be created as 13 # files. 14 index.html: {{default "Hello" .Values.index | quote}} 15 test.txt: test