2022-09-05 03:06:08 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-07-18 06:28:02 -04:00
|
|
|
package k8sapi
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Paths and permissions necessary for Kubernetes installation.
|
|
|
|
cniPluginsDir = "/opt/cni/bin"
|
|
|
|
binDir = "/run/state/bin"
|
|
|
|
kubeadmPath = "/run/state/bin/kubeadm"
|
|
|
|
kubeletPath = "/run/state/bin/kubelet"
|
2022-10-19 07:10:15 -04:00
|
|
|
kubeletServiceEtcPath = "/run/systemd/system/kubelet.service"
|
2022-07-18 06:28:02 -04:00
|
|
|
kubeletServiceStatePath = "/run/state/systemd/system/kubelet.service"
|
2022-10-19 07:10:15 -04:00
|
|
|
kubeadmConfEtcPath = "/run/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
2022-07-18 06:28:02 -04:00
|
|
|
kubeadmConfStatePath = "/run/state/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
|
|
|
executablePerm = 0o544
|
|
|
|
systemdUnitPerm = 0o644
|
|
|
|
)
|