Add POSTGRESQL_VERSION parameter to the templates

This commit is contained in:
Honza Horak 2017-12-22 13:12:41 +01:00
parent 5d5de63310
commit c266beafab
2 changed files with 16 additions and 2 deletions

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",

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",