kubeadm: stop using of CRI endpoints without URL scheme

run the testcase with `-v` flag will reveal the warning,
e.g.
`W1103 ... Usage of CRI endpoints without URL scheme is deprecated...`

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen 2022-11-03 13:36:10 +08:00
parent a7b610c3bb
commit 765ef1783b
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ localAPIEndpoint:
bootstrapTokens: bootstrapTokens:
- token: "abcdef.0123456789abcdef" - token: "abcdef.0123456789abcdef"
nodeRegistration: nodeRegistration:
criSocket: /run/containerd/containerd.sock criSocket: unix:///var/run/containerd/containerd.sock
name: someName name: someName
ignorePreflightErrors: ignorePreflightErrors:
- c - c

View File

@ -42,7 +42,7 @@ discovery:
controlPlane: controlPlane:
certificateKey: c39a18bae4a72e71b178661f437363da218a3efb83ddb03f1cd91d9ae1da41bd certificateKey: c39a18bae4a72e71b178661f437363da218a3efb83ddb03f1cd91d9ae1da41bd
nodeRegistration: nodeRegistration:
criSocket: /run/containerd/containerd.sock criSocket: unix:///var/run/containerd/containerd.sock
name: someName name: someName
ignorePreflightErrors: ignorePreflightErrors:
- c - c