1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Add globaldns system images

This commit is contained in:
gitlawr
2019-02-03 21:14:33 +08:00
committed by Alena Prokharchyk
parent 856db7f1e1
commit 2c58759d05
3 changed files with 13 additions and 4 deletions

View File

@@ -68,3 +68,7 @@ type AlidnsProviderConfig struct {
AccessKey string `json:"accessKey" norman:"notnullable,required,minLength=1"`
SecretKey string `json:"secretKey" norman:"notnullable,required,minLength=1,type=password"`
}
type GlobalDNSSystemImages struct {
ExternalDNS string `yaml:"ExternalDns" json:"ExternalDns,omitempty"`
}

View File

@@ -84,11 +84,12 @@ var (
},
}
// ToolsSystemImages default images for alert, pipeline, logging
// ToolsSystemImages default images for alert, pipeline, logging, globaldns
ToolsSystemImages = struct {
AlertSystemImages AlertSystemImages
PipelineSystemImages projectv3.PipelineSystemImages
LoggingSystemImages LoggingSystemImages
AlertSystemImages AlertSystemImages
PipelineSystemImages projectv3.PipelineSystemImages
LoggingSystemImages LoggingSystemImages
GlobalDNSSystemImages GlobalDNSSystemImages
}{
AlertSystemImages: AlertSystemImages{
AlertManager: m("prom/alertmanager:v0.15.2"),
@@ -109,6 +110,9 @@ var (
FluentdHelper: m("rancher/fluentd-helper:v0.1.2"),
LogAggregatorFlexVolumeDriver: m("rancher/log-aggregator:v0.1.4"),
},
GlobalDNSSystemImages: GlobalDNSSystemImages{
ExternalDNS: m("registry.opensource.zalan.do/teapot/external-dns:v0.5.10"),
},
}
AllK8sVersions = map[string]RKESystemImages{