Try a new differetn samba image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user