Skip to content

Commit df0cfe0

Browse files
Alexandre CatalanAlexandre Catalan
authored andcommitted
fix(container-registry): remove failing proxy-cache artifactory examples without credentials
Proxy-cache artifactories without credentials end up in ERROR state, so remove those examples from the create command and use a reachable upstream URL in the update example. Regenerate container-registry docs.
1 parent f1e557b commit df0cfe0

11 files changed

Lines changed: 67 additions & 81 deletions

‎docs/stackit_container-registry.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ stackit container-registry [flags]
1313
### Options
1414

1515
```
16-
-h, --help Help for "stackit container-registry"
16+
-h, --help[=true|false] Help for "stackit container-registry"
1717
```
1818

1919
### Options inherited from parent commands
2020

2121
```
22-
-y, --assume-yes If set, skips all confirmation prompts
23-
--async If set, runs the command asynchronously
24-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25-
-p, --project-id string Project ID
26-
--region string Target region for region-specific requests
27-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
22+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
23+
--async[=true|false] If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
2828
```
2929

3030
### SEE ALSO

‎docs/stackit_container-registry_artifactory.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ stackit container-registry artifactory [flags]
1313
### Options
1414

1515
```
16-
-h, --help Help for "stackit container-registry artifactory"
16+
-h, --help[=true|false] Help for "stackit container-registry artifactory"
1717
```
1818

1919
### Options inherited from parent commands
2020

2121
```
22-
-y, --assume-yes If set, skips all confirmation prompts
23-
--async If set, runs the command asynchronously
24-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25-
-p, --project-id string Project ID
26-
--region string Target region for region-specific requests
27-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
22+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
23+
--async[=true|false] If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
2828
```
2929

3030
### SEE ALSO

‎docs/stackit_container-registry_artifactory_create.md‎

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ stackit container-registry artifactory create [flags]
1616
Create a standard artifactory
1717
$ stackit container-registry artifactory create --name my-registry
1818
19-
Create a proxy-cache artifactory without credentials
20-
$ stackit container-registry artifactory create --name my-proxy --proxy-url https://custom-registry.com --proxy-registry-type harbor
21-
22-
Create a proxy-cache artifactory with a description
23-
$ stackit container-registry artifactory create --name my-proxy --proxy-url https://custom-registry.com --proxy-registry-type harbor --proxy-description "Internal mirror"
24-
2519
Create a proxy-cache artifactory for Docker Hub with credentials from stdin
2620
$ stackit container-registry artifactory create --name docker-proxy --proxy-url https://registry-1.docker.io --proxy-registry-type docker-hub --proxy-access-key my-user --proxy-access-secret -
2721
@@ -35,7 +29,7 @@ stackit container-registry artifactory create [flags]
3529
### Options
3630

3731
```
38-
-h, --help Help for "stackit container-registry artifactory create"
32+
-h, --help[=true|false] Help for "stackit container-registry artifactory create"
3933
-n, --name string Artifactory name
4034
--proxy-access-key string Access key for upstream proxy registry authentication
4135
--proxy-access-secret secret Proxy-Access-Secret. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
@@ -47,12 +41,12 @@ stackit container-registry artifactory create [flags]
4741
### Options inherited from parent commands
4842

4943
```
50-
-y, --assume-yes If set, skips all confirmation prompts
51-
--async If set, runs the command asynchronously
52-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
53-
-p, --project-id string Project ID
54-
--region string Target region for region-specific requests
55-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
44+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
45+
--async[=true|false] If set, runs the command asynchronously
46+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
47+
-p, --project-id string Project ID
48+
--region string Target region for region-specific requests
49+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
5650
```
5751

5852
### SEE ALSO

‎docs/stackit_container-registry_artifactory_delete.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ stackit container-registry artifactory delete ARTIFACTORY_ID [flags]
2020
### Options
2121

2222
```
23-
-h, --help Help for "stackit container-registry artifactory delete"
23+
-h, --help[=true|false] Help for "stackit container-registry artifactory delete"
2424
```
2525

2626
### Options inherited from parent commands
2727

2828
```
29-
-y, --assume-yes If set, skips all confirmation prompts
30-
--async If set, runs the command asynchronously
31-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32-
-p, --project-id string Project ID
33-
--region string Target region for region-specific requests
34-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
29+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
30+
--async[=true|false] If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
3535
```
3636

3737
### SEE ALSO

‎docs/stackit_container-registry_artifactory_describe.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ stackit container-registry artifactory describe ARTIFACTORY_ID [flags]
2323
### Options
2424

2525
```
26-
-h, --help Help for "stackit container-registry artifactory describe"
26+
-h, --help[=true|false] Help for "stackit container-registry artifactory describe"
2727
```
2828

2929
### Options inherited from parent commands
3030

3131
```
32-
-y, --assume-yes If set, skips all confirmation prompts
33-
--async If set, runs the command asynchronously
34-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
35-
-p, --project-id string Project ID
36-
--region string Target region for region-specific requests
37-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
32+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
33+
--async[=true|false] If set, runs the command asynchronously
34+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
35+
-p, --project-id string Project ID
36+
--region string Target region for region-specific requests
37+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
3838
```
3939

4040
### SEE ALSO

‎docs/stackit_container-registry_artifactory_list.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ stackit container-registry artifactory list [flags]
2626
### Options
2727

2828
```
29-
-h, --help Help for "stackit container-registry artifactory list"
30-
--limit int Maximum number of entries to list
29+
-h, --help[=true|false] Help for "stackit container-registry artifactory list"
30+
--limit int Maximum number of entries to list
3131
```
3232

3333
### Options inherited from parent commands
3434

3535
```
36-
-y, --assume-yes If set, skips all confirmation prompts
37-
--async If set, runs the command asynchronously
38-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
39-
-p, --project-id string Project ID
40-
--region string Target region for region-specific requests
41-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
36+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
37+
--async[=true|false] If set, runs the command asynchronously
38+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
39+
-p, --project-id string Project ID
40+
--region string Target region for region-specific requests
41+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
4242
```
4343

4444
### SEE ALSO

‎docs/stackit_container-registry_artifactory_update.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ stackit container-registry artifactory update ARTIFACTORY_ID [flags]
2626
$ stackit container-registry artifactory update xxx --proxy-access-key my-user --proxy-access-secret @./secret.txt
2727
2828
Update all proxy configuration fields for an artifactory with ID "xxx"
29-
$ stackit container-registry artifactory update xxx --proxy-url https://custom-registry.com --proxy-description "Updated mirror" --proxy-access-key my-user --proxy-access-secret @./secret.txt
29+
$ stackit container-registry artifactory update xxx --proxy-url https://registry-1.docker.io --proxy-description "Updated mirror" --proxy-access-key my-user --proxy-access-secret @./secret.txt
3030
```
3131

3232
### Options
3333

3434
```
35-
-h, --help Help for "stackit container-registry artifactory update"
35+
-h, --help[=true|false] Help for "stackit container-registry artifactory update"
3636
--proxy-access-key string Access key for upstream proxy registry authentication
3737
--proxy-access-secret secret Proxy-Access-Secret. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
3838
--proxy-description string Description of the proxy registry
@@ -42,12 +42,12 @@ stackit container-registry artifactory update ARTIFACTORY_ID [flags]
4242
### Options inherited from parent commands
4343

4444
```
45-
-y, --assume-yes If set, skips all confirmation prompts
46-
--async If set, runs the command asynchronously
47-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
48-
-p, --project-id string Project ID
49-
--region string Target region for region-specific requests
50-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
45+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
46+
--async[=true|false] If set, runs the command asynchronously
47+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
48+
-p, --project-id string Project ID
49+
--region string Target region for region-specific requests
50+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
5151
```
5252

5353
### SEE ALSO

‎docs/stackit_container-registry_replication-adapter.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ stackit container-registry replication-adapter [flags]
1313
### Options
1414

1515
```
16-
-h, --help Help for "stackit container-registry replication-adapter"
16+
-h, --help[=true|false] Help for "stackit container-registry replication-adapter"
1717
```
1818

1919
### Options inherited from parent commands
2020

2121
```
22-
-y, --assume-yes If set, skips all confirmation prompts
23-
--async If set, runs the command asynchronously
24-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25-
-p, --project-id string Project ID
26-
--region string Target region for region-specific requests
27-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
22+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
23+
--async[=true|false] If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
2828
```
2929

3030
### SEE ALSO

‎docs/stackit_container-registry_replication-adapter_list.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ stackit container-registry replication-adapter list [flags]
2626
### Options
2727

2828
```
29-
-h, --help Help for "stackit container-registry replication-adapter list"
30-
--limit int Maximum number of entries to list
29+
-h, --help[=true|false] Help for "stackit container-registry replication-adapter list"
30+
--limit int Maximum number of entries to list
3131
```
3232

3333
### Options inherited from parent commands
3434

3535
```
36-
-y, --assume-yes If set, skips all confirmation prompts
37-
--async If set, runs the command asynchronously
38-
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
39-
-p, --project-id string Project ID
40-
--region string Target region for region-specific requests
41-
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
36+
-y, --assume-yes[=true|false] If set, skips all confirmation prompts
37+
--async[=true|false] If set, runs the command asynchronously
38+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
39+
-p, --project-id string Project ID
40+
--region string Target region for region-specific requests
41+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
4242
```
4343

4444
### SEE ALSO

‎internal/cmd/container-registry/artifactory/create/create.go‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
5151
`Create a standard artifactory`,
5252
"$ stackit container-registry artifactory create --name my-registry",
5353
),
54-
examples.NewExample(
55-
`Create a proxy-cache artifactory without credentials`,
56-
"$ stackit container-registry artifactory create --name my-proxy --proxy-url https://custom-registry.com --proxy-registry-type harbor",
57-
),
58-
examples.NewExample(
59-
`Create a proxy-cache artifactory with a description`,
60-
`$ stackit container-registry artifactory create --name my-proxy --proxy-url https://custom-registry.com --proxy-registry-type harbor --proxy-description "Internal mirror"`,
61-
),
6254
examples.NewExample(
6355
`Create a proxy-cache artifactory for Docker Hub with credentials from stdin`,
6456
"$ stackit container-registry artifactory create --name docker-proxy --proxy-url https://registry-1.docker.io --proxy-registry-type docker-hub --proxy-access-key my-user --proxy-access-secret -",

0 commit comments

Comments
 (0)