agent icon indicating copy to clipboard operation
agent copied to clipboard

Pod image path is ignored

Open nightkr opened this issue 4 years ago • 1 comments

Currently, we write images of the format stackable/zookeeper:3.5.8, but (according to the logs) the agent only actually tries to resolve the package name zookeeper:3.5.8 against all repositories.

nightkr avatar Oct 06 '21 10:10 nightkr

The image field contains an OCI reference. An OCI reference consists of a registry, a repository, and a tag. For instance, the OCI reference "stackable.tech/stackable/zookeeper:3.5.8" consists of the registry "stackable.tech", the repository "stackable/zookeeper", and the tag "3.5.8". The Stackable Agent ignores the registry and considers only the repository and the tag.

In your example "stackable/zookeeper:3.5.8", the registry "stackable" is discarded. The rest of the image path is taken into account.

The question is what a registry is in our scope. If it is a Stackable repository and the Stackable Agent would look up the package only in the specified repository then it would not be possible to create repositories dynamically.

siegfriedweber avatar Oct 19 '21 06:10 siegfriedweber