apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: testapp | |
spec: | |
selector: | |
matchLabels: | |
app: testapp | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: testapp | |
spec: | |
volumes: | |
- name: config-data-volume | |
configMap: | |
name: app-config | |
containers: | |
- name: testapp | |
image: testapp | |
volumeMounts: | |
- mountPath: /config | |
name: config-data-volume |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment