这是indexloc提供的服务,不要输入任何密码
Skip to content

cli: add a flag to skip tls verification  #4564

@shahidhk

Description

@shahidhk

Add a new global flag called --insecure-skip-tls-verify with default value false. We'll then need to use a custom http client with tls config set to skip the verification.

This is required to make the CLI work with server endpoints that have self-signed certificates.

Refer to kubectl code for details.

We should also add a flag to accept the CA certificate.

Metadata

Metadata

Assignees

Labels

c/cliRelated to CLIk/enhancementNew feature or improve an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions