Browse Source

Add POSTGRESQL_VERSION parameter to the templates

pull/115/head
Honza Horak 8 years ago
parent
commit
c266beafab
2 changed files with 16 additions and 2 deletions
  1. +8
    -1
      openshift/templates/django-postgresql-persistent.json
  2. +8
    -1
      openshift/templates/django-postgresql.json

+ 8
- 1
openshift/templates/django-postgresql-persistent.json View File

@ -329,7 +329,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "postgresql:9.5"
"name": "postgresql:${POSTGRESQL_VERSION}"
}
}
},
@ -444,6 +444,13 @@
"value": "3.6",
"required": true
},
{
"name": "POSTGRESQL_VERSION",
"displayName": "Version of PostgreSQL Image",
"description": "Version of PostgreSQL image to be used (9.4, 9.5, 9.6 or latest).",
"value": "9.6",
"required": true
},
{
"name": "MEMORY_LIMIT",
"displayName": "Memory Limit",


+ 8
- 1
openshift/templates/django-postgresql.json View File

@ -312,7 +312,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "postgresql:9.5"
"name": "postgresql:${POSTGRESQL_VERSION}"
}
}
},
@ -425,6 +425,13 @@
"value": "3.6",
"required": true
},
{
"name": "POSTGRESQL_VERSION",
"displayName": "Version of PostgreSQL Image",
"description": "Version of PostgreSQL image to be used (9.4, 9.5, 9.6 or latest).",
"value": "9.6",
"required": true
},
{
"name": "MEMORY_LIMIT",
"displayName": "Memory Limit",


Loading…
Cancel
Save