Skip to content

Commit b5f1511

Browse files
committed
parameterize the db image name
1 parent a51feae commit b5f1511

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

openshift/templates/django-postgresql.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"containers": [
250250
{
251251
"name": "postgresql",
252-
"image": "openshift/postgresql-92-centos7",
252+
"image": "${POSTGRESQL_IMAGE}",
253253
"ports": [
254254
{
255255
"containerPort": 5432
@@ -327,6 +327,11 @@
327327
"generate": "expression",
328328
"from": "[a-zA-Z0-9]{16}"
329329
},
330+
{
331+
"name": "POSTGRESQL_IMAGE",
332+
"description": "Image to use for postgresql",
333+
"value": "openshift/postgresql-92-centos7"
334+
},
330335
{
331336
"name": "APP_CONFIG",
332337
"description": "Relative path to Gunicorn configuration file (optional)"

0 commit comments

Comments
 (0)