Add config map to configure samba

This commit is contained in:
2025-01-26 19:54:31 +00:00
parent 00b75f08cf
commit f304183d87
2 changed files with 65 additions and 1 deletions

View File

@@ -29,6 +29,9 @@ spec:
ports:
- containerPort: 445
hostPort: 445
env:
- name: SAMBACC_CONFIG
value: /etc/samba-container/config.json
resources:
limits:
cpu: 1000m
@@ -43,4 +46,10 @@ spec:
- name: local-path
hostPath:
path: /usr/local/data
type: Directory
type: Directory
- name: samba-config
configMap:
name: samba-config
items:
- key: config.json
path: /etc/samba-container/config.json