Skip to content

Commit

Permalink
fix(taskfiles): update priviledged container
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 12, 2024
1 parent 30a2cd3 commit ca90add
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .taskfiles/Kubernetes/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,41 @@ tasks:
"stdinOnce": true,
"tty": true,
"securityContext": {
"allowPrivilegeEscalation": true,
"privileged": true
}
},
"volumeMounts": [
{
"name": "hostfs",
"mountPath": "/rootfs"
},
{
"name": "run-containerd",
"mountPath": "/run/containerd"
}
]
}
],
"dnsPolicy": "ClusterFirstWithHostNet",
"hostIPC": true,
"hostNetwork": true,
"hostPID": true,
"nodeName": "{{.node}}",
"restartPolicy": "Never"
"restartPolicy": "Never",
"volumes": [
{
"name": "hostfs",
"hostPath": {
"path": "/"
}
},
{
"name": "run-containerd",
"hostPath": {
"path": "/run/containerd"
}
}
]
}
}'
vars:
Expand Down

0 comments on commit ca90add

Please sign in to comment.