1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 13:55:21 +02:00

fix(stacks): confirm enable tls verification [EE-5410] (#8896)

This commit is contained in:
Chaim Lev-Ari 2023-05-21 12:27:29 +07:00 committed by GitHub
parent 5daef54456
commit e37e87971d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 2 deletions

View file

@ -1,3 +1,5 @@
import { confirm } from '@@/modals/confirm';
import { GitFormModel } from './types';
export function getAuthentication(
@ -18,3 +20,11 @@ export function getAuthentication(
password: model.RepositoryPassword,
};
}
export function confirmEnableTLSVerify() {
return confirm({
title: 'Enable TLS Verification?',
message:
'Enabling the verification of TLS certificates without ensuring the correct configuration of your Certificate Authority (CA) for self-signed certificates can result in deployment failures.',
});
}