Add the configmap as a volumemount
This commit is contained in:
@@ -41,14 +41,12 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /share
|
- mountPath: /share
|
||||||
name: local-path
|
name: local-path
|
||||||
|
- mountPath: /etc/samba-container
|
||||||
|
name: samba-config
|
||||||
volumes:
|
volumes:
|
||||||
- name: local-path
|
- name: local-path
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /usr/local/data
|
path: /usr/local/data
|
||||||
type: Directory
|
|
||||||
- name: samba-config
|
- name: samba-config
|
||||||
configMap:
|
configMap:
|
||||||
name: samba-config
|
name: samba-config
|
||||||
items:
|
|
||||||
- key: config.json
|
|
||||||
path: /etc/samba-container/config.json
|
|
||||||
Reference in New Issue
Block a user