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