Skip to content

Commit

Permalink
docs: fix RegistrySpec fields docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
  • Loading branch information
fabriziosestito committed Oct 8, 2024
1 parent 6159b1c commit 3703204
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/v1alpha1/registry_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ type RegistrySpec struct {
URL string `json:"url,omitempty"`
// Repositories is the list of the repositories to be scanned
Repositories []string `json:"repositories,omitempty"`
// AuthSecret is the name of the secret that contains the credentials to access the registry
// AuthSecret is the name of the secret in the same namespace that contains the credentials to access the registry.
AuthSecret string `json:"authSecret,omitempty"`
// CABundle is the CA bundle to use when connecting to the registry.
// If not set, the system's root CA bundle will be used.
CABundle string `json:"caBundle,omitempty"`
// Insecure allows insecure connections to the registry when set to true.
Insecure bool `json:"insecure,omitempty"`
Expand Down

0 comments on commit 3703204

Please sign in to comment.