Skip to content

Commit 8e44d68

Browse files
committed
update image version
1 parent e0a3fa6 commit 8e44d68

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

openshift/templates/django-postgresql.json

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"from": {
8484
"kind": "ImageStreamTag",
8585
"namespace": "openshift",
86-
"name": "python:3.3"
86+
"name": "python:3.4"
8787
}
8888
}
8989
},
@@ -97,6 +97,9 @@
9797
{
9898
"type": "ImageChange"
9999
},
100+
{
101+
"type": "ConfigChange"
102+
},
100103
{
101104
"type": "GitHub",
102105
"github": {
@@ -230,6 +233,19 @@
230233
"type": "Recreate"
231234
},
232235
"triggers": [
236+
{
237+
"type": "ImageChange",
238+
"imageChangeParams": {
239+
"automatic": false,
240+
"containerNames": [
241+
"postgresql"
242+
],
243+
"from": {
244+
"kind": "ImageStreamTag",
245+
"name": "postgresql:9.4"
246+
}
247+
}
248+
},
233249
{
234250
"type": "ConfigChange"
235251
}
@@ -249,7 +265,7 @@
249265
"containers": [
250266
{
251267
"name": "postgresql",
252-
"image": "${POSTGRESQL_IMAGE}",
268+
"image": "postgresql",
253269
"ports": [
254270
{
255271
"containerPort": 5432
@@ -327,11 +343,6 @@
327343
"generate": "expression",
328344
"from": "[a-zA-Z0-9]{16}"
329345
},
330-
{
331-
"name": "POSTGRESQL_IMAGE",
332-
"description": "Image to use for postgresql",
333-
"value": "openshift/postgresql-92-centos7"
334-
},
335346
{
336347
"name": "APP_CONFIG",
337348
"description": "Relative path to Gunicorn configuration file (optional)"

openshift/templates/django.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"from": {
8484
"kind": "ImageStreamTag",
8585
"namespace": "openshift",
86-
"name": "python:3.3"
86+
"name": "python:3.4"
8787
}
8888
}
8989
},
@@ -97,6 +97,9 @@
9797
{
9898
"type": "ImageChange"
9999
},
100+
{
101+
"type": "ConfigChange"
102+
},
100103
{
101104
"type": "GitHub",
102105
"github": {

0 commit comments

Comments
 (0)