Skip to content

Commit

Permalink
feat(docs): document poor performance of sortTagsByDate flag (spinnak…
Browse files Browse the repository at this point in the history
  • Loading branch information
maggieneterval authored and cmuraru committed Jun 23, 2020
1 parent 942e329 commit 2a5429b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -8491,7 +8491,7 @@ hal config provider docker-registry account add ACCOUNT [parameters]
* `--read-permissions`: (*Default*: `[]`) A user must have at least one of these roles in order to view this account's cloud resources.
* `--repositories`: (*Default*: `[]`) An optional list of repositories to cache images from. If not provided, Spinnaker will attempt to read accessible repositories from the registries _catalog endpoint
* `--required-group-membership`: (*Default*: `[]`) A user must be a member of at least one specified group in order to make changes to this account's cloud resources.
* `--sort-tags-by-date`: (*Default*: `false`) Sort tags by creation date.
* `--sort-tags-by-date`: (*Default*: `false`) Sort tags by creation date. Not recommended for use with large registries; sorting performance scales poorly due to limitations of the Docker V2 API.
* `--track-digests`: (*Default*: `false`) Track digest changes. This is not recommended as it consumes a high QPM, and most registries are flaky.
* `--username`: Your docker registry username
* `--write-permissions`: (*Default*: `[]`) A user must have at least one of these roles in order to make changes to this account's cloud resources.
Expand Down Expand Up @@ -8555,7 +8555,7 @@ hal config provider docker-registry account edit ACCOUNT [parameters]
* `--remove-write-permission`: Remove this permission to from list of write permissions.
* `--repositories`: (*Default*: `[]`) An optional list of repositories to cache images from. If not provided, Spinnaker will attempt to read accessible repositories from the registries _catalog endpoint
* `--required-group-membership`: A user must be a member of at least one specified group in order to make changes to this account's cloud resources.
* `--sort-tags-by-date`: Sort tags by creation date.
* `--sort-tags-by-date`: Sort tags by creation date. Not recommended for use with large registries; sorting performance scales poorly due to limitations of the Docker V2 API.
* `--track-digests`: Track digest changes. This is not recommended as it consumes a high QPM, and most registries are flaky.
* `--username`: Your docker registry username
* `--write-permissions`: A user must have at least one of these roles in order to make changes to this account's cloud resources.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ class DockerRegistryCommandProperties {
static final String PAGINATE_SIZE_DESCRIPTION =
"Paginate size for the docker repository _catalog endpoint.";

static final String SORT_TAGS_BY_DATE_DESCRIPTION = "Sort tags by creation date.";
static final String SORT_TAGS_BY_DATE_DESCRIPTION =
"Sort tags by creation date. Not recommended for use with large "
+ "registries; sorting performance scales poorly due to limitations of the Docker V2 API.";

static final String TRACK_DIGESTS_DESCRIPTION =
"Track digest changes. This is not recommended as it consumes a high QPM, and most registries are flaky.";
Expand Down

0 comments on commit 2a5429b

Please sign in to comment.