mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
396 B
15 lines
396 B
8 years ago
|
# 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}}
|
||
|
app: {{template "fullname" .}}
|
||
|
data:
|
||
|
# When the config map is mounted as a volume, these will be created as
|
||
|
# files.
|
||
|
index.html: {{default "Hello" .index | squote}}
|
||
|
test.txt: test
|