cli icon indicating copy to clipboard operation
cli copied to clipboard

[patch] adding prefix settings to cli

Open JonahLuckett opened this issue 1 year ago • 0 comments

Overview

For https://github.com/ibm-mas/cli/issues/1049

With this change the user can declare a Registry Prefix that will publish the mirror image created to HOST:PORT/PREFIX/ as opposed to HOST:PORT/

There is an accompanying Ansible-devops change also but it should be worth note that neither will break the other if not present. Equally if no prefix is given then nothing breaks either.

The prefix is added with a -x or --prefix flag.

Testing

Testing in masdeps2 resulted in succesful pod/mirror creation:

(B Target Registry(B
(B Registry Host ....................... airgap-registry-lb.airgap-registry.svc
(B Registry Port ....................... 5000
(B Registry Prefix ..................... 240625

(B IBM Operator Catalog(B
(B Catalog Version ..................... v9-240625-amd64
(B MAS Update Channel .................. 9.0.x

Screenshot 2024-08-07 at 11 21 37

JonahLuckett avatar Jul 22 '24 11:07 JonahLuckett