mirror of
https://github.com/rancher/types.git
synced 2025-06-21 19:27:03 +00:00
adding k8s version and cluster object to backup
This commit is contained in:
parent
0cbd16146c
commit
ec30c7e870
@ -66,6 +66,10 @@ type EtcdBackupSpec struct {
|
||||
|
||||
type EtcdBackupStatus struct {
|
||||
Conditions []EtcdBackupCondition `json:"conditions"`
|
||||
// version of k8s in the backup pulled from rke config
|
||||
KubernetesVersion string `yaml:"kubernetesVersion" json:"kubernetesVersion,omitempty" norman:"noupdate"`
|
||||
// json + gzipped + base64 backup of the cluster object when the backup was created
|
||||
ClusterObject string `yaml:"clusterObject" json:"clusterObject,omitempty" norman:"type=password,noupdate"`
|
||||
}
|
||||
|
||||
type EtcdBackupCondition struct {
|
||||
|
@ -276,7 +276,8 @@ type MonitoringOutput struct {
|
||||
}
|
||||
|
||||
type RestoreFromEtcdBackupInput struct {
|
||||
EtcdBackupName string `json:"etcdBackupName,omitempty" norman:"type=reference[etcdBackup]"`
|
||||
EtcdBackupName string `json:"etcdBackupName,omitempty" norman:"type=reference[etcdBackup]"`
|
||||
RestoreRkeConfig string `json:"restoreRkeConfig,omitempty"`
|
||||
}
|
||||
|
||||
type RotateCertificateInput struct {
|
||||
|
Loading…
Reference in New Issue
Block a user