mirror of
https://github.com/rancher/types.git
synced 2025-06-28 06:26:49 +00:00
Add rotate certificate output
This commit is contained in:
parent
d8b411ad21
commit
05c0a0a7a9
@ -245,6 +245,10 @@ type RotateCertificateInput struct {
|
||||
Services []string `json:"services,omitempty" norman:"type=enum,options=etcd|kubelet|kube-apiserver|kube-proxy|kube-scheduler|kube-controller-manager"`
|
||||
}
|
||||
|
||||
type RotateCertificateOutput struct {
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type LocalClusterAuthEndpoint struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
FQDN string `json:"fqdn,omitempty"`
|
||||
|
@ -177,6 +177,7 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas {
|
||||
MustImport(&Version, v3.GenerateKubeConfigOutput{}).
|
||||
MustImport(&Version, v3.ImportClusterYamlInput{}).
|
||||
MustImport(&Version, v3.RotateCertificateInput{}).
|
||||
MustImport(&Version, v3.RotateCertificateOutput{}).
|
||||
MustImport(&Version, v3.ImportYamlOutput{}).
|
||||
MustImport(&Version, v3.ExportOutput{}).
|
||||
MustImport(&Version, v3.MonitoringInput{}).
|
||||
@ -215,7 +216,8 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas {
|
||||
Input: "restoreFromEtcdBackupInput",
|
||||
}
|
||||
schema.ResourceActions["rotateCertificates"] = types.Action{
|
||||
Input: "rotateCertificateInput",
|
||||
Input: "rotateCertificateInput",
|
||||
Output: "rotateCertificateOutput",
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user