Descriptionimage-import command should be able to lookup docker registry secret from docker-registry module.
Currently it looks up secret by name serverless-registry-config-default and in the scenario when docker registry is installed it returns error
./kyma-cli image-import kwiatekus/test:latest
failed to load in-cluster registry configuration: secrets "serverless-registry-config-default" not found
Adjust the secret lookup logic so that:
[x] secret announced in docker registry status is selected as the first choice
Additionally please improve the success message after importing.. Looks to me that the string templating is mixes up strings
Importing kwiatekus/redispop:latest
Successfully imported image
Use it as 'dockerregistry-config' and use the localhost:32137/kwiatekus/redispop:latest secret.
Should be:
Use it as localhost:32137/kwiatekus/redispop:latest and use the 'dockerregistry-config' as image pull secret.
Description
image-import
command should be able to lookup docker registry secret from docker-registry module.Currently it looks up secret by name
serverless-registry-config-default
and in the scenario when docker registry is installed it returns errorAdjust the secret lookup logic so that:
Additionally please improve the success message after importing.. Looks to me that the string templating is mixes up strings
Should be: