mirror of
https://github.com/rancher/os.git
synced 2025-08-26 10:19:16 +00:00
Add upgrade image name
This commit is contained in:
parent
932709e3ba
commit
130caa1abd
@ -55,7 +55,8 @@ func NewConfig() *Config {
|
|||||||
Datasources: []string{"configdrive:/media/config-2"},
|
Datasources: []string{"configdrive:/media/config-2"},
|
||||||
},
|
},
|
||||||
Upgrade: UpgradeConfig{
|
Upgrade: UpgradeConfig{
|
||||||
Url: "http://storage.googleapis.com/releases_rancher_com/rancheros/versions.yml",
|
Url: "https://releases.rancher.com/os/versions.yml",
|
||||||
|
Image: "rancher/os",
|
||||||
},
|
},
|
||||||
BootstrapContainers: []ContainerConfig{
|
BootstrapContainers: []ContainerConfig{
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@ type ContainerConfig struct {
|
|||||||
Cmd string `yaml:"run,omitempty"`
|
Cmd string `yaml:"run,omitempty"`
|
||||||
MigrateVolumes bool `yaml:"migrate_volumes,omitempty"`
|
MigrateVolumes bool `yaml:"migrate_volumes,omitempty"`
|
||||||
ReloadConfig bool `yaml:"reload_config,omitempty"`
|
ReloadConfig bool `yaml:"reload_config,omitempty"`
|
||||||
|
CreateOnly bool `yaml:create_only,omitempty`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
@ -54,6 +55,8 @@ type ConsoleConfig struct {
|
|||||||
|
|
||||||
type UpgradeConfig struct {
|
type UpgradeConfig struct {
|
||||||
Url string `yaml:"url,omitempty"`
|
Url string `yaml:"url,omitempty"`
|
||||||
|
Image string `yaml:"image,omitempty"`
|
||||||
|
Rollback string `yaml:"rollback,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DnsConfig struct {
|
type DnsConfig struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user