Skip to content
Snippets Groups Projects
Commit 37b6eb41 authored by rmartine's avatar rmartine
Browse files

Fix Openshift Templates

* There was a problem with DeploymentConfig that was missing the correct ImageStream (which should be merged in this file)
* Removing the host attribute from route object to let Openshift create a dynamic hostname for Rocket.Chat
parent a626df9d
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,33 @@
"securityContext": {}
}
}
}
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "rocketchat"
},
"status": {}
"spec": {
"dockerImageRepository": "docker.io/rocket.chat",
"tags": [
{
"name": "latest",
"annotations": {
"description": "Provides a Rocket.Chat application",
"iconClass": "icon-nodejs",
"tags": "rocketchat"
},
"from": {
"kind": "ImageStreamTag",
"name": "latest"
},
"generation": 1,
"importPolicy": {}
}
]
}
},
{
"kind": "DeploymentConfig",
......@@ -264,7 +289,6 @@
}
},
"spec": {
"host": "rocketchat-rocket-chat.rhel-cdk.10.1.2.2.xip.io",
"to": {
"kind": "Service",
"name": "rocketchat"
......@@ -392,4 +416,4 @@
"required": true
}
]
}
}
\ No newline at end of file
......@@ -164,6 +164,32 @@
},
"status": {}
},
{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "rocketchat"
},
"spec": {
"dockerImageRepository": "docker.io/rocket.chat",
"tags": [
{
"name": "latest",
"annotations": {
"description": "Provides a Rocket.Chat application",
"iconClass": "icon-nodejs",
"tags": "rocketchat"
},
"from": {
"kind": "ImageStreamTag",
"name": "latest"
},
"generation": 1,
"importPolicy": {}
}
]
}
},
{
"kind": "DeploymentConfig",
"apiVersion": "v1",
......@@ -283,7 +309,6 @@
}
},
"spec": {
"host": "rocketchat-rocket-chat.rhel-cdk.10.1.2.2.xip.io",
"to": {
"kind": "Service",
"name": "rocketchat"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment