Switch deployment to privilaged
This commit is contained in:
@@ -18,6 +18,12 @@ spec:
|
||||
containers:
|
||||
- name: samba
|
||||
image: quay.io/samba.org/samba-server:latest
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["NET_ADMIN"]
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
ports:
|
||||
- containerPort: 445
|
||||
resources:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- deployment.yaml
|
||||
@@ -1,14 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: samba
|
||||
namespace: kube-system
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app.kubernetes.io/name: samba
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 445
|
||||
nodePort: 445
|
||||
targetPort: 445
|
||||
Reference in New Issue
Block a user