You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e4d47e9
Browse filesBrowse the repository at this point in the historyBrowse files
Alexandre Catalan
committed
fix(registry): address PR #1693 review comments for STACKITCRE-382
- Migrate optional secret flag resolution to flags.ResolveSecretFlag in create and update commands to prevent unintended stdin prompts when omitted
- Update command examples in create.go to read secrets from stdin (-) or file (@<file>) instead of deprecated literal strings
- Regenerate registry create and update documentation
- Expand unit test coverage in delete_test.go, describe_test.go, and update_test.go for missing args, missing flags, and empty/invalid artifactory UUIDs
- Add secret resolution test cases using fstest.MapFS and verify rejection of literal secret values
- Add missing unit test case for unsetting registry-custom-endpoint in unset_test.go
Relates to STACKITCRE-382
-h, --help Help for "stackit registry artifactory create"
30
33
-n, --name string Artifactory name
31
34
--proxy-access-key string Access key for upstream proxy registry authentication
32
-
--proxy-access-secret string Proxy-Access-Secret. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
35
+
--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.
33
36
--proxy-description string Description of the proxy registry
34
37
--proxy-registry-type string Registry type of the upstream proxy (e.g., docker-hub, harbor)
-h, --help Help for "stackit registry artifactory update"
24
24
--proxy-access-key string Access key for upstream proxy registry authentication
25
-
--proxy-access-secret string Proxy-Access-Secret. Can be a string (deprecated) or a file path, if prefixed with '@' (example: @./secret.txt). Will be read from stdin when empty.
25
+
--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.
26
26
--proxy-description string Description of the proxy registry
0 commit comments