Skip to content

Commit 2cabcd5

Browse files
ceachebalopat
authored andcommitted
Fix CRI socket in Kubernetes >= 1.12.0 kubeadmin config (#3452)
Use CRI socket from parameter for V1Alpha3 configs instead of hardcoded dockershim path
1 parent 8f1b4d2 commit 2cabcd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/minikube/bootstrapper/kubeadm/templates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ bootstrapTokens:
6060
- authentication
6161
kind: InitConfiguration
6262
nodeRegistration:
63-
criSocket: /var/run/dockershim.sock
63+
criSocket: {{if .CRISocket}}{{.CRISocket}}{{else}}/var/run/dockershim.sock{{end}}
6464
name: {{.NodeName}}
6565
taints: []
6666
---

0 commit comments

Comments
 (0)