Try other samba share

This commit is contained in:
2025-07-08 21:48:51 +01:00
parent ef3cc756cc
commit 31a4ba8fa9
7 changed files with 55 additions and 75 deletions

View File

@@ -18,21 +18,9 @@ spec:
spec:
containers:
- name: samba
image: quay.io/samba.org/samba-server:latest
securityContext:
privileged: true
capabilities:
add: ["NET_ADMIN"]
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
image: dockurr/samba:latest
ports:
- containerPort: 445
hostPort: 445
env:
- name: SAMBACC_CONFIG
value: /etc/samba-container/config.json
- name: SAMBA_CONTAINER_ID
value: local
resources:
limits:
cpu: 1000m
@@ -41,14 +29,15 @@ spec:
cpu: 10m
memory: 64Mi
volumeMounts:
- mountPath: /share
- mountPath: /storage
name: local-path
- mountPath: /etc/samba-container
- mountPath: /etc/samba
name: samba-config
volumes:
- name: local-path
hostPath:
path: /usr/local/data
type: DirectoryOrCreate
- name: samba-config
configMap:
name: samba-config