Skip to content

Commit

Permalink
CLOUD-1592 add parameter for specifying db version to jdg+db templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rcernich committed May 26, 2017
1 parent f86450f commit 01e76e0
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
9 changes: 8 additions & 1 deletion datagrid/datagrid65-mysql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@
"from": "[a-zA-Z0-9]{8}",
"generate": "expression",
"required": true
},
{
"displayName": "MySQL Image Stream Tag",
"description": "The tag to use for the \"mysql\" image stream. Typically, this aligns with the major.minor version of MySQL.",
"name": "MYSQL_IMAGE_STREAM_TAG",
"value": "5.7",
"required": true
}
],
"objects": [
Expand Down Expand Up @@ -735,7 +742,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${IMAGE_STREAM_NAMESPACE}",
"name": "mysql:latest"
"name": "mysql:${MYSQL_IMAGE_STREAM_TAG}"
}
}
},
Expand Down
9 changes: 8 additions & 1 deletion datagrid/datagrid65-mysql.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,13 @@
"from": "[a-zA-Z0-9]{8}",
"generate": "expression",
"required": true
},
{
"displayName": "MySQL Image Stream Tag",
"description": "The tag to use for the \"mysql\" image stream. Typically, this aligns with the major.minor version of MySQL.",
"name": "MYSQL_IMAGE_STREAM_TAG",
"value": "5.7",
"required": true
}
],
"objects": [
Expand Down Expand Up @@ -728,7 +735,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${IMAGE_STREAM_NAMESPACE}",
"name": "mysql:latest"
"name": "mysql:${MYSQL_IMAGE_STREAM_TAG}"
}
}
},
Expand Down
9 changes: 8 additions & 1 deletion datagrid/datagrid65-postgresql-persistent.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@
"from": "[a-zA-Z0-9]{8}",
"generate": "expression",
"required": true
},
{
"displayName": "PostgreSQL Image Stream Tag",
"description": "The tag to use for the \"postgresql\" image stream. Typically, this aligns with the major.minor version of PostgreSQL.",
"name": "POSTGRESQL_IMAGE_STREAM_TAG",
"value": "9.5",
"required": true
}
],
"objects": [
Expand Down Expand Up @@ -715,7 +722,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${IMAGE_STREAM_NAMESPACE}",
"name": "postgresql:latest"
"name": "postgresql:${POSTGRESQL_IMAGE_STREAM_TAG}"
}
}
},
Expand Down
9 changes: 8 additions & 1 deletion datagrid/datagrid65-postgresql.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@
"from": "[a-zA-Z0-9]{8}",
"generate": "expression",
"required": true
},
{
"displayName": "PostgreSQL Image Stream Tag",
"description": "The tag to use for the \"postgresql\" image stream. Typically, this aligns with the major.minor version of PostgreSQL.",
"name": "POSTGRESQL_IMAGE_STREAM_TAG",
"value": "9.5",
"required": true
}
],
"objects": [
Expand Down Expand Up @@ -708,7 +715,7 @@
"from": {
"kind": "ImageStreamTag",
"namespace": "${IMAGE_STREAM_NAMESPACE}",
"name": "postgresql:latest"
"name": "postgresql:${POSTGRESQL_IMAGE_STREAM_TAG}"
}
}
},
Expand Down

0 comments on commit 01e76e0

Please sign in to comment.