Skip to content

Commit

Permalink
fix: pass the correct parameter for strict tls validation in applicat…
Browse files Browse the repository at this point in the history
…ionset controller (#19759)

Signed-off-by: ignas-kaziukenas_css <[email protected]>
Co-authored-by: ignas-kaziukenas_css <[email protected]>
  • Loading branch information
Homulvas and ignas-kaziukenas_css authored Sep 2, 2024
1 parent b574cdc commit da345ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func NewCommand() *cobra.Command {

tlsConfig := apiclient.TLSConfiguration{
DisableTLS: repoServerPlaintext,
StrictValidation: repoServerPlaintext,
StrictValidation: repoServerStrictTLS,
}

if !repoServerPlaintext && repoServerStrictTLS {
Expand Down

0 comments on commit da345ee

Please sign in to comment.