1 Star 0 Fork 0

golang/rke

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
constants.go 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
package pki
import "time"
const (
CertPathPrefix = "/etc/kubernetes/ssl/"
CertificatesServiceName = "certificates"
CrtDownloaderContainer = "cert-deployer"
CertFetcherContainer = "cert-fetcher"
CertificatesSecretName = "k8s-certs"
TempCertPath = "/etc/kubernetes/.tmp/"
ClusterConfig = "cluster.yml"
ClusterStateFile = "cluster-state.yml"
ClusterStateEnv = "CLUSTER_STATE"
BundleCertPath = "/backup/pki.bundle.tar.gz"
CACertName = "kube-ca"
RequestHeaderCACertName = "kube-apiserver-requestheader-ca"
KubeAPICertName = "kube-apiserver"
KubeControllerCertName = "kube-controller-manager"
KubeSchedulerCertName = "kube-scheduler"
KubeProxyCertName = "kube-proxy"
KubeNodeCertName = "kube-node"
EtcdCertName = "kube-etcd"
EtcdClientCACertName = "kube-etcd-client-ca"
EtcdClientCertName = "kube-etcd-client"
APIProxyClientCertName = "kube-apiserver-proxy-client"
ServiceAccountTokenKeyName = "kube-service-account-token"
KubeNodeCommonName = "system:node"
KubeNodeOrganizationName = "system:nodes"
KubeAdminCertName = "kube-admin"
KubeAdminOrganizationName = "system:masters"
KubeAdminConfigPrefix = "kube_config_"
duration365d = time.Hour * 24 * 365
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gober/rke.git
git@gitee.com:gober/rke.git
gober
rke
rke
v0.2.1-rc3

搜索帮助