mirror of
https://github.com/rancher/rke.git
synced 2025-09-03 07:54:14 +00:00
init commit for refactor state
add init test use rkeconfig for init reconcile old state file
This commit is contained in:
committed by
Alena Prokharchyk
parent
631c0725f4
commit
f48da22d8e
29
vendor/github.com/rancher/types/apis/management.cattle.io/v3/rke_types.go
generated
vendored
29
vendor/github.com/rancher/types/apis/management.cattle.io/v3/rke_types.go
generated
vendored
@@ -282,6 +282,8 @@ 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 {
|
||||
@@ -567,3 +569,30 @@ 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user