summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-11-16 14:46:22 -0800
committerGitHub <noreply@github.com>2017-11-16 14:46:22 -0800
commitbd289432c9b6e8b0b0a63f1f8b742e023e4b2fb8 (patch)
tree53770f48bba470fb0417d52e84d1813d18c9c3d5 /roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml
parent78a5a599bf23c8cdd46079793fd1597a6fa7223d (diff)
parenta80dab78b05b21393587fc99a73e61e6450dddf7 (diff)
downloadopenshift-bd289432c9b6e8b0b0a63f1f8b742e023e4b2fb8.tar.gz
openshift-bd289432c9b6e8b0b0a63f1f8b742e023e4b2fb8.tar.bz2
openshift-bd289432c9b6e8b0b0a63f1f8b742e023e4b2fb8.tar.xz
openshift-bd289432c9b6e8b0b0a63f1f8b742e023e4b2fb8.zip
Merge pull request #6114 from sosiouxme/20171114-registry-console-tech-debt
Automatic merge from submit-queue. registry-console tech debt Followup to https://github.com/openshift/openshift-ansible/pull/5829 Replaces https://github.com/openshift/openshift-ansible/pull/6093 Fixes the construction and checking of registry-console images to be as similar as it can get to those constructed from the traditional `oreg_url` without tacking on `ose-` or `origin-` to the base name. I did not see a reason for having `registry.access.redhat.com/` as a hardcoded enterprise default so I took it out. Someone say something if there was a good reason for this.
Diffstat (limited to 'roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml')
-rw-r--r--roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml b/roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml
index a78146ca4..a75340eb7 100644
--- a/roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml
+++ b/roles/openshift_hosted_templates/files/v3.6/origin/registry-console.yaml
@@ -27,7 +27,7 @@ objects:
spec:
containers:
- name: registry-console
- image: ${IMAGE_PREFIX}kubernetes:${IMAGE_VERSION}
+ image: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}
ports:
- containerPort: 9090
protocol: TCP
@@ -89,7 +89,7 @@ objects:
- annotations: null
from:
kind: DockerImage
- name: ${IMAGE_PREFIX}kubernetes:${IMAGE_VERSION}
+ name: ${IMAGE_PREFIX}${IMAGE_BASENAME}:${IMAGE_VERSION}
name: ${IMAGE_VERSION}
- kind: OAuthClient
apiVersion: v1
@@ -103,6 +103,9 @@ parameters:
- description: 'Specify "registry/namespace" prefix for container image; e.g. for "registry.example.com/cockpit/kubernetes:latest", set prefix "registry.example.com/cockpit/"'
name: IMAGE_PREFIX
value: "cockpit/"
+ - description: 'Specify component name for container image; e.g. for "registry.example.com/cockpit/kubernetes:latest", use base name "kubernetes"'
+ name: IMAGE_BASENAME
+ value: "kubernetes"
- description: 'Specify image version; e.g. for "cockpit/kubernetes:latest", set version "latest"'
name: IMAGE_VERSION
value: latest