Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/harbor/root/registry/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func CreateRegistryCommand() *cobra.Command {
&opts.Insecure,
"insecure",
"",
true,
false,
"Whether Harbor will verify the server certificate",
)
flags.StringVarP(
Expand Down
2 changes: 1 addition & 1 deletion doc/cli-docs/harbor-registry-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ harbor registry create
--credential-type string Credential type, such as 'basic', 'oauth' (default "basic")
--description string Description of the registry
-h, --help help for create
--insecure Whether Harbor will verify the server certificate (default true)
--insecure Whether Harbor will verify the server certificate
Copy link
Copy Markdown

@mreiche mreiche May 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will NOT verify the server certifcate

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mreiche you are right. @madmecodes, please go ahead and adapt the flags description such that it uses tls for the registry aka a secure connection.

--name string Name of the registry
--type string Type of the registry
--url string Registry endpoint URL
Expand Down
2 changes: 1 addition & 1 deletion doc/man-docs/man1/harbor-registry-create.1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ create registry
help for create

.PP
\fB--insecure\fP[=true]
\fB--insecure\fP[=false]
Whether Harbor will verify the server certificate

.PP
Expand Down