Add the configmap as a volumemount

This commit is contained in:
2025-01-26 20:11:44 +00:00
parent 41a85b2f22
commit 5ed42874a4

View File

@@ -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