Try a new differetn samba image

This commit is contained in:
2025-07-09 20:05:20 +01:00
parent 93908c6b52
commit 48eb97d68e
5 changed files with 24 additions and 52 deletions

View File

@@ -18,9 +18,14 @@ spec:
spec:
containers:
- name: samba
image: dockurr/samba:latest
image: ghcr.io/servercontainers/samba:a3.22.0-s4.21.4-r4
ports:
- containerPort: 445
hostNetwork: true
securityContext:
privileged: true
capabilities:
add: ["NET_ADMIN"]
resources:
limits:
cpu: 1000m
@@ -29,16 +34,16 @@ spec:
cpu: 10m
memory: 64Mi
volumeMounts:
- mountPath: /storage
name: local-path
- mountPath: /shares/data
name: share-path
- mountPath: /etc/samba/smb.default
name: samba-config
subPath: smb.default
envFrom:
- configMapRef:
name: samba-config
volumes:
- name: local-path
- name: share-path
hostPath:
path: /usr/local/data
type: DirectoryOrCreate
- name: samba-config
configMap:
name: samba-config