From b5f15113d7eb9657d92b50c47e0edfacfeff4812 Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Fri, 31 Jul 2015 14:09:50 -0400 Subject: [PATCH] parameterize the db image name --- openshift/templates/django-postgresql.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openshift/templates/django-postgresql.json b/openshift/templates/django-postgresql.json index ab7bd63..98bd1f4 100644 --- a/openshift/templates/django-postgresql.json +++ b/openshift/templates/django-postgresql.json @@ -249,7 +249,7 @@ "containers": [ { "name": "postgresql", - "image": "openshift/postgresql-92-centos7", + "image": "${POSTGRESQL_IMAGE}", "ports": [ { "containerPort": 5432 @@ -327,6 +327,11 @@ "generate": "expression", "from": "[a-zA-Z0-9]{16}" }, + { + "name": "POSTGRESQL_IMAGE", + "description": "Image to use for postgresql", + "value": "openshift/postgresql-92-centos7" + }, { "name": "APP_CONFIG", "description": "Relative path to Gunicorn configuration file (optional)"