insecure registry
This commit is contained in:
@@ -103,7 +103,8 @@ func applyRegistryDefaults(r *RegistryConfig, m *MetaConfig) {
|
||||
if r.URL == "" {
|
||||
r.URL = DefaultRegistryURL
|
||||
}
|
||||
if r.PullSecret == "" {
|
||||
// Insecure (in-cluster) registries need no imagePullSecret.
|
||||
if r.PullSecret == "" && !r.Insecure {
|
||||
r.PullSecret = DefaultPullSecret
|
||||
}
|
||||
if r.Repository == "" {
|
||||
|
||||
Reference in New Issue
Block a user