Commit e453d99e authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris
Browse files

Use ImageStream internal repo to reference images

parent 749c1cc6
Pipeline #2412645 passed with stages
in 4 minutes and 25 seconds
......@@ -647,7 +647,7 @@ func deploymentForDrupalSite(currentobject *appsv1.Deployment, dbodSecret string
currentobject.Spec.Template.Spec = corev1.PodSpec{
Containers: []corev1.Container{{
Image: "drupal-nginx-" + d.Name + ":" + d.Spec.DrupalVersion,
Image: "image-registry.openshift-image-registry.svc:5000/" + d.Namespace + "/drupal-nginx-" + d.Name + ":" + d.Spec.DrupalVersion,
Name: "nginx",
ImagePullPolicy: "IfNotPresent",
Ports: []corev1.ContainerPort{{
......@@ -687,7 +687,7 @@ func deploymentForDrupalSite(currentobject *appsv1.Deployment, dbodSecret string
},
},
{
Image: "drupal-php-" + d.Name + ":" + d.Spec.DrupalVersion,
Image: "image-registry.openshift-image-registry.svc:5000/" + d.Namespace + "/drupal-php-" + d.Name + ":" + d.Spec.DrupalVersion,
Name: "php-fpm",
ImagePullPolicy: "IfNotPresent",
Ports: []corev1.ContainerPort{{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment