mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
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
This commit is contained in:
parent
232bc746f4
commit
e127895cf3
1 changed files with 2 additions and 16 deletions
|
|
@ -64,8 +64,6 @@ objects:
|
||||||
name: "${WEKAN_SERVICE_NAME}"
|
name: "${WEKAN_SERVICE_NAME}"
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
|
@ -86,8 +84,6 @@ objects:
|
||||||
name: "${DATABASE_SERVICE_NAME}"
|
name: "${DATABASE_SERVICE_NAME}"
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
|
|
@ -276,7 +272,6 @@ objects:
|
||||||
lastTriggeredImage: ''
|
lastTriggeredImage: ''
|
||||||
type: ImageChange
|
type: ImageChange
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
status: {}
|
|
||||||
- apiVersion: route.openshift.io/v1
|
- apiVersion: route.openshift.io/v1
|
||||||
kind: Route
|
kind: Route
|
||||||
metadata:
|
metadata:
|
||||||
|
|
@ -297,15 +292,6 @@ objects:
|
||||||
name: wekan
|
name: wekan
|
||||||
weight: 100
|
weight: 100
|
||||||
wildcardPolicy: None
|
wildcardPolicy: None
|
||||||
status:
|
|
||||||
ingress:
|
|
||||||
- conditions:
|
|
||||||
- lastTransitionTime: '2018-08-28T14:45:21Z'
|
|
||||||
status: 'True'
|
|
||||||
type: Admitted
|
|
||||||
host: ${FQDN}
|
|
||||||
routerName: router
|
|
||||||
wildcardPolicy: None
|
|
||||||
parameters:
|
parameters:
|
||||||
- description: The Fully Qualified Hostname (FQDN) of the application
|
- description: The Fully Qualified Hostname (FQDN) of the application
|
||||||
displayName: FQDN
|
displayName: FQDN
|
||||||
|
|
@ -323,7 +309,7 @@ parameters:
|
||||||
displayName: Database Service Name
|
displayName: Database Service Name
|
||||||
name: DATABASE_SERVICE_NAME
|
name: DATABASE_SERVICE_NAME
|
||||||
required: true
|
required: true
|
||||||
value: mongodb
|
value: wekan-mongodb
|
||||||
- description: Username for MongoDB user that will be used for accessing the database.
|
- description: Username for MongoDB user that will be used for accessing the database.
|
||||||
displayName: MongoDB Connection Username
|
displayName: MongoDB Connection Username
|
||||||
from: user[A-Z0-9]{3}
|
from: user[A-Z0-9]{3}
|
||||||
|
|
@ -356,7 +342,7 @@ parameters:
|
||||||
displayName: Version of MongoDB Image
|
displayName: Version of MongoDB Image
|
||||||
name: MONGODB_VERSION
|
name: MONGODB_VERSION
|
||||||
required: true
|
required: true
|
||||||
value: '4.0.10'
|
value: '3.6'
|
||||||
- name: WEKAN_SERVICE_NAME
|
- name: WEKAN_SERVICE_NAME
|
||||||
displayName: Wekan Service Name
|
displayName: Wekan Service Name
|
||||||
value: wekan
|
value: wekan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue