1
0
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:
Josh Curl
2016-05-27 16:09:03 -07:00
parent 4ab3162ed8
commit adb5635186
4 changed files with 100 additions and 4 deletions

View File

@@ -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"`
}