Skip to content

Commit

Permalink
sort
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed Jun 13, 2024
1 parent 412235d commit 7e4f870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/k8s/pkg/k8sd/setup/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ func kubelet(snap snap.Snap, hostname string, nodeIP net.IP, clusterDNS string,
args := map[string]string{
"--anonymous-auth": "false",
"--authentication-token-webhook": "true",
"--tls-cert-file": path.Join(snap.KubernetesPKIDir(), "kubelet.crt"),
"--tls-private-key": path.Join(snap.KubernetesPKIDir(), "kubelet.key"),
"--client-ca-file": path.Join(snap.KubernetesPKIDir(), "client-ca.crt"),
"--container-runtime-endpoint": path.Join(snap.ContainerdSocketDir(), "containerd.sock"),
"--containerd": path.Join(snap.ContainerdSocketDir(), "containerd.sock"),
Expand All @@ -58,7 +56,9 @@ func kubelet(snap snap.Snap, hostname string, nodeIP net.IP, clusterDNS string,
"--register-with-taints": strings.Join(taints, ","),
"--root-dir": snap.KubeletRootDir(),
"--serialize-image-pulls": "false",
"--tls-cert-file": path.Join(snap.KubernetesPKIDir(), "kubelet.crt"),
"--tls-cipher-suites": strings.Join(kubeletTLSCipherSuites, ","),
"--tls-private-key": path.Join(snap.KubernetesPKIDir(), "kubelet.key"),
}
if cloudProvider != "" {
args["--cloud-provider"] = cloudProvider
Expand Down

0 comments on commit 7e4f870

Please sign in to comment.