1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-03 16:04:26 +00:00

Final fixes and cleanup for state management

Fix dind and local and etcd snapshots

add ExternalFlags and dialer options
This commit is contained in:
galal-hussein
2018-11-08 01:54:08 +02:00
committed by Alena Prokharchyk
parent 6da35256a8
commit 696b61679c
18 changed files with 353 additions and 601 deletions

View File

@@ -282,8 +282,6 @@ type IngressConfig struct {
type RKEPlan struct {
// List of node Plans
Nodes []RKEConfigNodePlan `json:"nodes,omitempty"`
// Certificates Key Pair
CertificatesBundle map[string]CertificatePKI `json:"certificatesBundle,omitempty"`
}
type RKEConfigNodePlan struct {
@@ -569,30 +567,3 @@ type MonitoringConfig struct {
// Metrics server options
Options map[string]string `yaml:"options" json:"options,omitempty"`
}
type CertificatePKI struct {
// Name of the certificate pki
Name string
// Certificate in PEM format
Certificate string
// Key in PEM Format
Key string
// Kubeconfig file
Config string
// CommonName in the certificate
CommonName string
// Organizational Name in the certificate
OUName string
// Environment name of the certificate
EnvName string
// Path of the certificate on disk
Path string
// Environment name of the key
KeyEnvName string
// Path of the key on disk
KeyPath string
// Environment name of the kubeconfig
ConfigEnvName string
// Path of the kubeconfig on disk
ConfigPath string
}