-
Bug
-
Resolution: Done
-
Minor
-
quay-v3.2.0
-
None
-
Compatibility/Configuration, User Experience
-
If the user deploys with a server hostname like 'quay.io.example.com' this error will show in the logs:
~~~
2019-12-10 19:08:25,242 [529] [ERROR] [endpoints.api] !!! Super user method called IN PRODUCTION !!!
gunicorn-web stdout | 2019-12-10 19:08:25,242 [529] [ERROR] [endpoints.api] !!! Super user method called IN PRODUCTION !!!
2019-12-10 19:08:25,256 [529] [INFO] [gunicorn.access] 10.75.4.14 - - [10/Dec/2019:19:08:25] "GET /api/v1/superuser/registry
~~~
This is because `quay.io` cannot be used in domain name of a Red Hat Quay deployment. This is to protect the security of quay.io users.
Quay config tool should check if user is trying to use a server_hostname with 'quay.io' in it.