Add config map to configure samba
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user