Skip to content

converting image name to imagestream may need further adjustment for multiple /s #20

@jmtd

Description

@jmtd

metadata = DockerImageMetadata.get(openShift, OpenJDKTestConfig.image());

With the following in global-test.properties

xtf.openjdk.25.image=quay.io/redhat-user-workloads/openjdk-tenant/openjdk-25-ubi10-container@sha256:34190d03dea5b8e5c02dcda04e1390fbe82b6524ad9aa7edab8effced16bc634

(which is valid, try pulling it)

DockerImageTest.prepareImage throws an exception when it calls the above line 50,

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at:
https://<REDACTED>:6443/apis/image.openshift.io/v1/namespaces/openjdk/imagestreams.
Message: ImageStream.image.openshift.io "openjdk-tenant/openjdk-25-ubi10-container@sha256-favas" is invalid:
metadata.name: Invalid value: "openjdk-tenant/openjdk-25-ubi10-container@sha256-favas": may not contain '/'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions