mirror of
https://github.com/rancher/os.git
synced 2025-08-25 17:59:17 +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"},
|
||||
},
|
||||
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{
|
||||
{
|
||||
|
@ -26,6 +26,7 @@ type ContainerConfig struct {
|
||||
Cmd string `yaml:"run,omitempty"`
|
||||
MigrateVolumes bool `yaml:"migrate_volumes,omitempty"`
|
||||
ReloadConfig bool `yaml:"reload_config,omitempty"`
|
||||
CreateOnly bool `yaml:create_only,omitempty`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
@ -53,7 +54,9 @@ type ConsoleConfig 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user