Skip to content

Commit

Permalink
Allow setting MYSQL_VERSION in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
yselkowitz committed Nov 23, 2020
1 parent fddfeb3 commit 02af86f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion openshift/templates/cakephp-mysql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "mysql:8.0"
"name": "mysql:${MYSQL_VERSION}"
}
}
},
Expand Down Expand Up @@ -471,6 +471,13 @@
"required": true,
"value": "7.3-ubi8"
},
{
"name": "MYSQL_VERSION",
"displayName": "MySQL Version",
"description": "Version of MySQL image to be used (8.0-el8 or latest).",
"required": true,
"value": "8.0-el8"
},
{
"name": "MEMORY_LIMIT",
"displayName": "Memory Limit",
Expand Down
9 changes: 8 additions & 1 deletion openshift/templates/cakephp-mysql.json
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${NAMESPACE}",
"name": "mysql:8.0-el8"
"name": "mysql:${MYSQL_VERSION}"
}
}
},
Expand Down Expand Up @@ -452,6 +452,13 @@
"required": true,
"value": "7.3-ubi8"
},
{
"name": "MYSQL_VERSION",
"displayName": "MySQL Version",
"description": "Version of MySQL image to be used (8.0-el8 or latest).",
"required": true,
"value": "8.0-el8"
},
{
"name": "MEMORY_LIMIT",
"displayName": "Memory Limit",
Expand Down

0 comments on commit 02af86f

Please sign in to comment.