mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Support registry credentials in cloud config
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"runtime"
|
||||
|
||||
"github.com/coreos/coreos-cloudinit/config"
|
||||
"github.com/docker/engine-api/types"
|
||||
composeConfig "github.com/docker/libcompose/config"
|
||||
"github.com/rancher/netconf"
|
||||
)
|
||||
@@ -104,6 +105,7 @@ type RancherConfig struct {
|
||||
SystemDocker DockerConfig `yaml:"system_docker,omitempty"`
|
||||
Upgrade UpgradeConfig `yaml:"upgrade,omitempty"`
|
||||
Docker DockerConfig `yaml:"docker,omitempty"`
|
||||
RegistryAuths map[string]types.AuthConfig `yaml:"registry_auths,omitempty"`
|
||||
Defaults Defaults `yaml:"defaults,omitempty"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user