27 lines
882 B
YAML
27 lines
882 B
YAML
nappl:
|
|
mounts:
|
|
generic:
|
|
# -- This shows how to mount the contents of a secret into
|
|
# a directory
|
|
- name: "sample-generic-secret"
|
|
secret: "sample-generic-secret"
|
|
path: "/mnt/secret"
|
|
|
|
# -- This shows how to mount the contents of a configMap into
|
|
# a directory
|
|
- name: "sample-generic-configmap"
|
|
configMap: "sample-generic-configmap"
|
|
path: "/mnt/configmap"
|
|
|
|
# -- This shows how to mount a file from a secret to a secret file
|
|
- name: "sample-generic-secret-file"
|
|
secret: "sample-generic-secret"
|
|
path: "/mnt/secret-file.txt"
|
|
subPath: "test1.txt"
|
|
|
|
# -- This shows how to mount a file from a configMap to a file
|
|
- name: "sample-generic-configmap-file"
|
|
configMap: "sample-generic-configmap"
|
|
path: "/mnt/configmap-file.txt"
|
|
subPath: "test2.txt"
|