mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
fix(registry): disable tls for azure [EE-3726] (#8605)
This commit is contained in:
parent
4c2906e89d
commit
e8e8329aab
1 changed files with 2 additions and 2 deletions
|
@ -32,13 +32,13 @@ export function RegistryManagementConfigurationDefaultModel(registry) {
|
||||||
this.TLSSkipVerify = true;
|
this.TLSSkipVerify = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (registry.Type === RegistryTypes.QUAY || registry.Type === RegistryTypes.AZURE || registry.Type === RegistryTypes.ECR) {
|
if (registry.Type === RegistryTypes.QUAY || registry.Type === RegistryTypes.ECR) {
|
||||||
this.Authentication = true;
|
this.Authentication = true;
|
||||||
this.Username = registry.Username;
|
this.Username = registry.Username;
|
||||||
this.TLS = true;
|
this.TLS = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((registry.Type === RegistryTypes.CUSTOM || registry.Type === RegistryTypes.PROGET) && registry.Authentication) {
|
if ((registry.Type === RegistryTypes.CUSTOM || registry.Type === RegistryTypes.PROGET || registry.Type === RegistryTypes.AZURE) && registry.Authentication) {
|
||||||
this.Authentication = true;
|
this.Authentication = true;
|
||||||
this.Username = registry.Username;
|
this.Username = registry.Username;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue