-
Bug
-
Resolution: Obsolete
-
Normal
-
None
-
4.10
-
Low
-
None
-
False
-
-
Red Hat Software Collections
Description of problem:
Template openshift/nginx-example try to build nginx:1.20-el8 instead nginx:1.20-ubi8
How reproducible:
Deploy using `oc new-app --template=openshift/nginx-example --name=nginx-teste --param=NAME=nginx-teste` leads to build failure.
Steps to Reproduce:
1. Run oc new-app --template=openshift/nginx-example --name=nginx-teste --param=NAME=nginx-teste 2. Check build log
Actual results:
oc start-build nginx-teste The ImageStreamTag "nginx:1.20-el8" is invalid: from: Error resolving ImageStreamTag nginx:1.20-el8 in namespace openshift: unable to find latest tagged image
Expected results:
Templage got successfully deployed.
Additional info:
Replace the image at BuildConfig from nginx:1.20-el8 to nginx:1.20-ubi8 (As UBI is the standard RHEL for containers - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/building_running_and_managing_containers/index?extIdCarryOver=true&sc_cid=701f2000001OH7TAAW#con_understanding-the-ubi-standard-images_assembly_types-of-container-images ) fixed the issue.