Skip to content

Instantly share code, notes, and snippets.

@Sushant
Last active October 26, 2016 21:40
Show Gist options
  • Save Sushant/bb8a59323b0b135a26fad1ba045b109d to your computer and use it in GitHub Desktop.
Save Sushant/bb8a59323b0b135a26fad1ba045b109d to your computer and use it in GitHub Desktop.
containers:
....
volumeMounts:
- mountPath: /etc/foo/template
name: foo-template-volume
readOnly: true
- mountPath: /etc/foo/config
name: foo-config-volume
volumes:
- name: foo-template-volume
configMap:
name: foo-template
items:
- key: foo-tmpl
path: foo.tmpl
- configMap:
name: foo-config
name: foo-config-volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment