Some valid url formats are not accepted as image parameters for the APIManager CRD

Solution Verified - Updated -

Issue

  • When the url format of an image field of the APIManager CRD looks like the following:

    my.test.url:443/test/image:version
    

    i.e. the URL is explicitly configured with a port and the version does not fit any of the formats: \d+\.\d+, \d+\.\d+\.\d+, the creation of the Deployment Configs and the deployment of 3scale fail.
    An example of an image with a URL format that reproduces this error is: registry.redhat.io:443/rhel8/redis-5:1 because of the port 443 in the URL and the version: 1.

    Note: this only happens when the CRD is customised before creation: the same URLs formats are accepted (and are effective) if the CRD is modified after the initial creation.

Environment

  • Red Hat 3scale API Management Platform (3scale API Management)

    • 2 (on-premise)
  • 3scale Operator

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content