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:
- 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
name: samba-config