diff options
author | Scott Dodson <sdodson@redhat.com> | 2015-08-20 17:05:24 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2015-08-20 17:05:24 -0400 |
commit | ae5e023975d54218ec6175d1386ef2c0ad513b4b (patch) | |
tree | 82237dac4097067e3108946d0377b8be4dab7dd3 /roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json | |
parent | 2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff) | |
download | openshift-ae5e023975d54218ec6175d1386ef2c0ad513b4b.tar.gz openshift-ae5e023975d54218ec6175d1386ef2c0ad513b4b.tar.bz2 openshift-ae5e023975d54218ec6175d1386ef2c0ad513b4b.tar.xz openshift-ae5e023975d54218ec6175d1386ef2c0ad513b4b.zip |
Update latest openshift examples
Diffstat (limited to 'roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json')
-rw-r--r-- | roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json b/roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json index b46abfbb5..2cbcc0889 100644 --- a/roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json +++ b/roles/openshift_examples/files/examples/quickstart-templates/dancer-mysql.json @@ -162,15 +162,15 @@ }, { "name": "MYSQL_USER", - "value": "${MYSQL_USER}" + "value": "${DATABASE_USER}" }, { "name": "MYSQL_PASSWORD", - "value": "${MYSQL_PASSWORD}" + "value": "${DATABASE_PASSWORD}" }, { "name": "MYSQL_DATABASE", - "value": "${MYSQL_DATABASE}" + "value": "${DATABASE_NAME}" }, { "name": "SECRET_KEY_BASE", @@ -238,7 +238,7 @@ "containers": [ { "name": "mysql", - "image": "openshift/mysql-55-centos7", + "image": "${MYSQL_IMAGE}", "ports": [ { "containerPort": 3306 @@ -247,15 +247,15 @@ "env": [ { "name": "MYSQL_USER", - "value": "${MYSQL_USER}" + "value": "${DATABASE_USER}" }, { "name": "MYSQL_PASSWORD", - "value": "${MYSQL_PASSWORD}" + "value": "${DATABASE_PASSWORD}" }, { "name": "MYSQL_DATABASE", - "value": "${MYSQL_DATABASE}" + "value": "${DATABASE_NAME}" } ] } @@ -281,8 +281,8 @@ }, { "name": "APPLICATION_DOMAIN", - "description": "The exposed hostname that will route to the Dancer service", - "value": "dancer-mysql-example.openshiftapps.com" + "description": "The exposed hostname that will route to the Dancer service, if left blank a value will be defaulted.", + "value": "" }, { "name": "GITHUB_WEBHOOK_SECRET", @@ -308,23 +308,28 @@ "value": "database" }, { - "name": "MYSQL_USER", + "name": "DATABASE_USER", "description": "database username", "generate": "expression", "from": "user[A-Z0-9]{3}" }, { - "name": "MYSQL_PASSWORD", + "name": "DATABASE_PASSWORD", "description": "database password", "generate": "expression", "from": "[a-zA-Z0-9]{8}" }, { - "name": "MYSQL_DATABASE", + "name": "DATABASE_NAME", "description": "database name", "value": "sampledb" }, { + "name": "MYSQL_IMAGE", + "description": "Image to use for mysql", + "value": "openshift/mysql-55-centos7" + }, + { "name": "SECRET_KEY_BASE", "description": "Your secret key for verifying the integrity of signed cookies", "generate": "expression", |