36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
|
[global]
|
||
|
workgroup = {{ .Values.samba.global.workgroup }}
|
||
|
server string = {{ .Values.samba.global.server_string | default "%h server (Samba, Alpine)" }}
|
||
|
security = {{ .Values.samba.global.security | default "user" }}
|
||
|
map to guest = {{ .Values.samba.global.map_to_guest | default "Bad User" }}
|
||
|
encrypt passwords = {{ .Values.samba.global.encrypt_passwords | default "yes" }}
|
||
|
load printers = no
|
||
|
printing = bsd
|
||
|
printcap name = /dev/null
|
||
|
disable spoolss = yes
|
||
|
disable netbios = yes
|
||
|
server role = {{ .Values.samba.global.server_role | default "standalone" }}
|
||
|
server services = -dns, -nbt
|
||
|
smb ports = {{ .Values.samba.global.smb_ports | default "445" }}
|
||
|
log level = {{ .Values.samba.global.log_level | default "3" }}
|
||
|
{{- range .Values.samba.global.extraLines }}
|
||
|
{{ .key }} = {{ .value }}
|
||
|
{{- end }}
|
||
|
|
||
|
[{{ .Values.samba.share.nameOverride | default "data" }}]
|
||
|
path = /data
|
||
|
comment = {{ .Values.samba.share.comment | default "ZFS" }}
|
||
|
browseable = {{ .Values.samba.share.browseable | default "yes" }}
|
||
|
writable = {{ .Values.samba.share.writable | default "yes" }}
|
||
|
{{- range .Values.samba.share.extraLines }}
|
||
|
{{ .key }} = {{ .value }}
|
||
|
{{- end }}
|
||
|
|
||
|
{{ range .Values.persistence.extraPVCShares }}
|
||
|
[{{ .name }}]
|
||
|
path = /extras/{{ .name }}
|
||
|
comment = {{ .comment | default "ZFS" }}
|
||
|
browseable = {{ .browseable | default "yes" }}
|
||
|
writable = {{ .writable | default "yes" }}
|
||
|
{{- end }}
|
||
|
;EOF way past actual end of file
|