diff --git a/api/credentials/builtin/oci/identity/identity.go b/api/credentials/builtin/oci/identity/identity.go index 004d477a94..e1bfad2fc5 100644 --- a/api/credentials/builtin/oci/identity/identity.go +++ b/api/credentials/builtin/oci/identity/identity.go @@ -6,7 +6,7 @@ import ( "ocm.software/ocm/api/utils/listformat" ) -// CONSUMER_TYPE is the OCT registry type. +// CONSUMER_TYPE is the OCI registry type. const CONSUMER_TYPE = "OCIRegistry" // used identity properties. @@ -28,7 +28,7 @@ const ( func init() { attrs := listformat.FormatListElements("", listformat.StringElementDescriptionList{ - ATTR_USERNAME, "the basic auth user name", + ATTR_USERNAME, "the basic auth username", ATTR_PASSWORD, "the basic auth password", ATTR_IDENTITY_TOKEN, "the bearer token used for non-basic auth authorization", ATTR_CERTIFICATE_AUTHORITY, "the certificate authority certificate used to verify certificates", diff --git a/docs/reference/ocm_credential-handling.md b/docs/reference/ocm_credential-handling.md index c043039158..48c257e5da 100644 --- a/docs/reference/ocm_credential-handling.md +++ b/docs/reference/ocm_credential-handling.md @@ -191,7 +191,7 @@ The following credential consumer types are used/supported: Credential consumers of the consumer type OCIRegistry evaluate the following credential properties: - - username: the basic auth user name + - username: the basic auth username - password: the basic auth password - identityToken: the bearer token used for non-basic auth authorization - certificateAuthority: the certificate authority certificate used to verify certificates diff --git a/docs/reference/ocm_get_credentials.md b/docs/reference/ocm_get_credentials.md index 5ab188e291..6836dda8f5 100644 --- a/docs/reference/ocm_get_credentials.md +++ b/docs/reference/ocm_get_credentials.md @@ -117,7 +117,7 @@ Matchers exist for the following usage contexts or consumer types: Credential consumers of the consumer type OCIRegistry evaluate the following credential properties: - - username: the basic auth user name + - username: the basic auth username - password: the basic auth password - identityToken: the bearer token used for non-basic auth authorization - certificateAuthority: the certificate authority certificate used to verify certificates diff --git a/hack/Makefile b/hack/Makefile index b412e76c91..95040ec584 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -65,7 +65,10 @@ ifneq ($(OCI_REGISTRY), $(OCI_REGISTRY_VERSION)) endif .PHONY: install-requirements -install-requirements: $(deps) $(GOPATH)/bin/goimports mdref +install-requirements: mkbin $(deps) $(GOPATH)/bin/goimports mdref + +mkbin: + mkdir -p $(LOCALBIN) .PHONY: gci gci: