Skip to content

Commit 6832221

Browse files
committed
Add NGINX_VERSION parameter into the template
1 parent 7eaf807 commit 6832221

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

openshift/templates/nginx.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"from": {
9494
"kind": "ImageStreamTag",
9595
"namespace": "${NAMESPACE}",
96-
"name": "nginx:1.12"
96+
"name": "nginx:${NGINX_VERSION}"
9797
}
9898
}
9999
},
@@ -228,6 +228,13 @@
228228
"required": true,
229229
"value": "openshift"
230230
},
231+
{
232+
"name": "NGINX_VERSION",
233+
"displayName": "NGINX Version",
234+
"description": "Version of NGINX image to be used (1.12 by default).",
235+
"required": true,
236+
"value": "1.12"
237+
},
231238
{
232239
"name": "MEMORY_LIMIT",
233240
"displayName": "Memory Limit",

0 commit comments

Comments
 (0)