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:
parent
5daef54456
commit
e37e87971d
3 changed files with 30 additions and 2 deletions
|
@ -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.',
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue