Add config map to configure samba
This commit is contained in:
55
clusters/kairos/samba/configmap.yaml
Normal file
55
clusters/kairos/samba/configmap.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: samba-config
|
||||
data:
|
||||
config.json: |
|
||||
{
|
||||
"samba-container-config": "v0",
|
||||
"configs": {
|
||||
"local": {
|
||||
"shares": [
|
||||
"share"
|
||||
],
|
||||
"globals": [
|
||||
"default"
|
||||
],
|
||||
"instance_name": "SAMBA"
|
||||
}
|
||||
},
|
||||
"shares": {
|
||||
"share": {
|
||||
"options": {
|
||||
"path": "/share",
|
||||
"valid users": "user"
|
||||
}
|
||||
}
|
||||
},
|
||||
"globals": {
|
||||
"default": {
|
||||
"options": {
|
||||
"security": "user",
|
||||
"server min protocol": "SMB2",
|
||||
"load printers": "no",
|
||||
"printing": "bsd",
|
||||
"printcap name": "/dev/null",
|
||||
"disable spoolss": "yes",
|
||||
"guest ok": "yes",
|
||||
"browsable": "yes",
|
||||
"writable": "yes",
|
||||
"guest account": "user",
|
||||
"create mask": "0775",
|
||||
"directory mask": "0755",
|
||||
}
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"all_entries": [
|
||||
{
|
||||
"name": "user",
|
||||
"password": "public"
|
||||
}
|
||||
]
|
||||
},
|
||||
"_footer": 1
|
||||
}
|
||||
Reference in New Issue
Block a user