mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
bd63aa3c6b
sed -i '1i/*\nCopyright (c) Edgeless Systems GmbH\n\nSPDX-License-Identifier: AGPL-3.0-only\n*/\n' `grep -rL --include='*.go' 'DO NOT EDIT'` gofumpt -w .
23 lines
790 B
Go
23 lines
790 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
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"
|
|
kubectlPath = "/run/state/bin/kubectl"
|
|
kubeletServiceEtcPath = "/etc/systemd/system/kubelet.service"
|
|
kubeletServiceStatePath = "/run/state/systemd/system/kubelet.service"
|
|
kubeadmConfEtcPath = "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
|
kubeadmConfStatePath = "/run/state/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
|
executablePerm = 0o544
|
|
systemdUnitPerm = 0o644
|
|
)
|