Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Updated OpenShift Template to take an Image as a Param #9946

Merged
merged 12 commits into from
Apr 10, 2018
11 changes: 9 additions & 2 deletions .openshift/rocket-chat-ephemeral.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"name": "rocketchat"
},
"spec": {
"dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat",
"dockerImageRepository": "${ROCKETCHAT_IMAGE}",
"tags": [
{
"name": "latest",
Expand Down Expand Up @@ -241,7 +241,7 @@
"containers": [
{
"name": "rocketchat",
"image": "registry.connect.redhat.com/rocketchat/rocketchat:latest",
"image": "${ROCKETCHAT_IMAGE}:latest",
"ports": [
{
"containerPort": 3000,
Expand Down Expand Up @@ -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",
Expand Down
11 changes: 9 additions & 2 deletions .openshift/rocket-chat-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"name": "rocketchat"
},
"spec": {
"dockerImageRepository": "registry.connect.redhat.com/rocketchat/rocketchat",
"dockerImageRepository": "${ROCKETCHAT_IMAGE}",
"tags": [
{
"name": "latest",
Expand Down Expand Up @@ -261,7 +261,7 @@
"containers": [
{
"name": "rocketchat",
"image": "registry.connect.redhat.com/rocketchat/rocketchat:latest",
"image": "${ROCKETCHAT_IMAGE}:latest",
"ports": [
{
"containerPort": 3000,
Expand Down Expand Up @@ -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",
Expand Down