summaryrefslogtreecommitdiffstats
path: root/openshift
diff options
context:
space:
mode:
authorJimmy Jones <jimmyjones2@gmx.co.uk>2020-06-07 20:18:17 +0100
committerGitHub <noreply@github.com>2020-06-07 20:18:17 +0100
commite127895cf38f5bcefa7e65aea9e4c7041711b813 (patch)
tree2711112fb93dcf13b4c76eabae91365e2e87e323 /openshift
parent232bc746f4b2d09945fdfe68e3aa14ff6f4e79f6 (diff)
downloadwekan-e127895cf38f5bcefa7e65aea9e4c7041711b813.tar.gz
wekan-e127895cf38f5bcefa7e65aea9e4c7041711b813.tar.bz2
wekan-e127895cf38f5bcefa7e65aea9e4c7041711b813.zip
OpenShift template updates
* Remove status fields (this is created by Kubernetes at run time) * The latest MongoDB by [default available with OpenShift is 3.6](https://github.com/openshift/origin/blob/master/examples/image-streams/image-streams-rhel7.json#L334) * Change MongoDB service name to contain wekan to avoid potentially conflicting with other mongodb instances in the same project
Diffstat (limited to 'openshift')
-rw-r--r--openshift/wekan.yml18
1 files changed, 2 insertions, 16 deletions
diff --git a/openshift/wekan.yml b/openshift/wekan.yml
index 28f63300..3d08451b 100644
--- a/openshift/wekan.yml
+++ b/openshift/wekan.yml
@@ -64,8 +64,6 @@ objects:
name: "${WEKAN_SERVICE_NAME}"
sessionAffinity: None
type: ClusterIP
- status:
- loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
@@ -86,8 +84,6 @@ objects:
name: "${DATABASE_SERVICE_NAME}"
sessionAffinity: None
type: ClusterIP
- status:
- loadBalancer: {}
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@@ -276,7 +272,6 @@ objects:
lastTriggeredImage: ''
type: ImageChange
- type: ConfigChange
- status: {}
- apiVersion: route.openshift.io/v1
kind: Route
metadata:
@@ -297,15 +292,6 @@ objects:
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
@@ -323,7 +309,7 @@ parameters:
displayName: Database Service Name
name: DATABASE_SERVICE_NAME
required: true
- value: mongodb
+ value: wekan-mongodb
- description: Username for MongoDB user that will be used for accessing the database.
displayName: MongoDB Connection Username
from: user[A-Z0-9]{3}
@@ -356,7 +342,7 @@ parameters:
displayName: Version of MongoDB Image
name: MONGODB_VERSION
required: true
- value: '4.0.10'
+ value: '3.6'
- name: WEKAN_SERVICE_NAME
displayName: Wekan Service Name
value: wekan