diff --git a/.openshift/rocket-chat-ephemeral.json b/.openshift/rocket-chat-ephemeral.json index 2c5cd26e68fb..dd25e870ff64 100644 --- a/.openshift/rocket-chat-ephemeral.json +++ b/.openshift/rocket-chat-ephemeral.json @@ -151,7 +151,7 @@ "name": "rocketchat" }, "spec": { - "dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat", + "dockerImageRepository": "${ROCKETCHAT_IMAGE}", "tags": [ { "name": "latest", @@ -241,7 +241,7 @@ "containers": [ { "name": "rocketchat", - "image": "registry.connect.redhat.com/rocketchat/rocketchat:latest", + "image": "${ROCKETCHAT_IMAGE}:latest", "ports": [ { "containerPort": 3000, @@ -424,6 +424,13 @@ "value": "rocketchatdb", "required": true }, + { + "name": "ROCKETCHAT_IMAGE", + "displayName": "RocketChat Image", + "description": "The RocketChat image to use for this deployment", + "required": true, + "value": "rocketchat/rocket.chat" + }, { "name": "MONGODB_ADMIN_PASSWORD", "displayName": "MongoDB Admin Password", diff --git a/.openshift/rocket-chat-persistent.json b/.openshift/rocket-chat-persistent.json index 150347e5165a..fe2a992ef232 100644 --- a/.openshift/rocket-chat-persistent.json +++ b/.openshift/rocket-chat-persistent.json @@ -171,7 +171,7 @@ "name": "rocketchat" }, "spec": { - "dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat", + "dockerImageRepository": "${ROCKETCHAT_IMAGE}", "tags": [ { "name": "latest", @@ -261,7 +261,7 @@ "containers": [ { "name": "rocketchat", - "image": "registry.connect.redhat.com/rocketchat/rocketchat:latest", + "image": "${ROCKETCHAT_IMAGE}:latest", "ports": [ { "containerPort": 3000, @@ -452,6 +452,13 @@ "from": "[a-zA-Z0-9]{16}", "required": true }, + { + "name": "ROCKETCHAT_IMAGE", + "displayName": "RocketChat Image", + "description": "The RocketChat image to use for this deployment", + "required": true, + "value": "rocketchat/rocket.chat" + }, { "name": "VOLUME_CAPACITY", "displayName": "Volume Capacity",