summaryrefslogtreecommitdiffstats
path: root/openshift
diff options
context:
space:
mode:
authorDeven Phillips <InfoSec812@users.noreply.github.com>2018-08-28 11:58:52 -0400
committerGitHub <noreply@github.com>2018-08-28 11:58:52 -0400
commit8fae6765514f3c0428d36dc41fe6b482e6744211 (patch)
treeada8b4872faa6e1e65fc285d40d0209ad0667215 /openshift
parent379f1af89ef9dac5b2911d9f1562521fdcc6bae2 (diff)
downloadwekan-8fae6765514f3c0428d36dc41fe6b482e6744211.tar.gz
wekan-8fae6765514f3c0428d36dc41fe6b482e6744211.tar.bz2
wekan-8fae6765514f3c0428d36dc41fe6b482e6744211.zip
Add route to template and parameterize
Diffstat (limited to 'openshift')
-rw-r--r--openshift/wekan.yml35
1 files changed, 34 insertions, 1 deletions
diff --git a/openshift/wekan.yml b/openshift/wekan.yml
index dd23f6ea..95210746 100644
--- a/openshift/wekan.yml
+++ b/openshift/wekan.yml
@@ -147,7 +147,7 @@ objects:
- name: MONGO_URL
value: mongodb://${MONGODB_USER}:${MONGODB_PASSWORD}@${DATABASE_SERVICE_NAME}:27017/${MONGODB_DATABASE}
- name: ROOT_URL
- value: http://localhost
+ value: https://${FQDN}/
- name: PORT
value: "8080"
ports:
@@ -277,7 +277,40 @@ objects:
type: ImageChange
- type: ConfigChange
status: {}
+- apiVersion: route.openshift.io/v1
+ kind: Route
+ metadata:
+ labels:
+ app: wekan
+ service: wekan
+ template: wekan-mongodb-persistent-template
+ name: wekan
+ namespace: ${NAMESPACE}
+ spec:
+ host: wekan-labs-ci-cd.apps.d1.casl.rht-labs.com
+ port:
+ targetPort: wekan
+ tls:
+ termination: edge
+ to:
+ kind: Service
+ name: wekan
+ weight: 100
+ wildcardPolicy: None
+ status:
+ ingress:
+ - conditions:
+ - lastTransitionTime: '2018-08-28T14:45:21Z'
+ status: 'True'
+ type: Admitted
+ host: ${FQDN}
+ routerName: router
+ wildcardPolicy: None
parameters:
+- description: The Fully Qualified Hostname (FQDN) of the application
+ displayName: FQDN
+ name: FQDN
+ required: true
- description: Maximum amount of memory the container can use.
displayName: Memory Limit
name: MEMORY_LIMIT