1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 06:56:29 +00:00

Able to include and extract state file in snapshot

This commit is contained in:
Sebastiaan van Steenis
2020-03-30 21:16:47 +02:00
parent e2b5828e5b
commit 9bca29befb
8 changed files with 161 additions and 10 deletions

View File

@@ -3,7 +3,8 @@ package pki
import "time"
const (
CertPathPrefix = "/etc/kubernetes/ssl/"
K8sBaseDir = "/etc/kubernetes/"
CertPathPrefix = K8sBaseDir + "ssl/"
CertificatesServiceName = "certificates"
CrtDownloaderContainer = "cert-deployer"
CertFetcherContainer = "cert-fetcher"
@@ -11,6 +12,7 @@ const (
TempCertPath = "/etc/kubernetes/.tmp/"
ClusterConfig = "cluster.yml"
ClusterStateFile = "cluster-state.yml"
ClusterStateExt = ".rkestate"
ClusterStateEnv = "CLUSTER_STATE"
BundleCertPath = "/backup/pki.bundle.tar.gz"