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 <[email protected]>
  • Loading branch information
fabriziosestito committed Oct 8, 2024
1 parent 6159b1c commit 767b2e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/registry_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ 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 that contains the credentials to access the registry.
// The Secret is expected to be in the same namespace as 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 767b2e3

Please sign in to comment.