Skip to content

Commit

Permalink
Merge pull request #12340 from chrira/adapt_secret_keys
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Jan 3, 2017
2 parents 0116999 + cc3110f commit a5eaf99
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 88 deletions.
12 changes: 6 additions & 6 deletions examples/db-templates/mariadb-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MYSQL_USER}",
"databasePassword" : "${MYSQL_PASSWORD}",
"databaseRootPassword" : "${MYSQL_ROOT_PASSWORD}"
"database-user" : "${MYSQL_USER}",
"database-password" : "${MYSQL_PASSWORD}",
"database-root-password" : "${MYSQL_ROOT_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -115,7 +115,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -124,7 +124,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -133,7 +133,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseRootPassword"
"key" : "database-root-password"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions examples/db-templates/mariadb-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MYSQL_USER}",
"databasePassword" : "${MYSQL_PASSWORD}",
"databaseRootPassword" : "${MYSQL_ROOT_PASSWORD}"
"database-user" : "${MYSQL_USER}",
"database-password" : "${MYSQL_PASSWORD}",
"database-root-password" : "${MYSQL_ROOT_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -132,7 +132,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -141,7 +141,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -150,7 +150,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseRootPassword"
"key" : "database-root-password"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions examples/db-templates/mongodb-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MONGODB_USER}",
"databasePassword" : "${MONGODB_PASSWORD}",
"databaseAdminPassword" : "${MONGODB_ADMIN_PASSWORD}"
"database-user" : "${MONGODB_USER}",
"database-password" : "${MONGODB_PASSWORD}",
"database-admin-password" : "${MONGODB_ADMIN_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -128,7 +128,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -137,7 +137,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -146,7 +146,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseAdminPassword"
"key" : "database-admin-password"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions examples/db-templates/mongodb-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MONGODB_USER}",
"databasePassword" : "${MONGODB_PASSWORD}",
"databaseAdminPassword" : "${MONGODB_ADMIN_PASSWORD}"
"database-user" : "${MONGODB_USER}",
"database-password" : "${MONGODB_PASSWORD}",
"database-admin-password" : "${MONGODB_ADMIN_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -145,7 +145,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -154,7 +154,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -163,7 +163,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseAdminPassword"
"key" : "database-admin-password"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions examples/db-templates/mysql-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MYSQL_USER}",
"databasePassword" : "${MYSQL_PASSWORD}",
"databaseRootPassword" : "${MYSQL_ROOT_PASSWORD}"
"database-user" : "${MYSQL_USER}",
"database-password" : "${MYSQL_PASSWORD}",
"database-root-password" : "${MYSQL_ROOT_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -128,7 +128,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -137,7 +137,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -146,7 +146,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseRootPassword"
"key" : "database-root-password"
}
}
},
Expand Down
12 changes: 6 additions & 6 deletions examples/db-templates/mysql-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${MYSQL_USER}",
"databasePassword" : "${MYSQL_PASSWORD}",
"databaseRootPassword" : "${MYSQL_ROOT_PASSWORD}"
"database-user" : "${MYSQL_USER}",
"database-password" : "${MYSQL_PASSWORD}",
"database-root-password" : "${MYSQL_ROOT_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -132,7 +132,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -141,7 +141,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand All @@ -150,7 +150,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseRootPassword"
"key" : "database-root-password"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions examples/db-templates/postgresql-ephemeral-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${POSTGRESQL_USER}",
"databasePassword" : "${POSTGRESQL_PASSWORD}"
"database-user" : "${POSTGRESQL_USER}",
"database-password" : "${POSTGRESQL_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -127,7 +127,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -136,7 +136,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions examples/db-templates/postgresql-persistent-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"name": "${DATABASE_SERVICE_NAME}"
},
"stringData" : {
"databaseUser" : "${POSTGRESQL_USER}",
"databasePassword" : "${POSTGRESQL_PASSWORD}"
"database-user" : "${POSTGRESQL_USER}",
"database-password" : "${POSTGRESQL_PASSWORD}"
}
},
{
Expand Down Expand Up @@ -144,7 +144,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databaseUser"
"key" : "database-user"
}
}
},
Expand All @@ -153,7 +153,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${DATABASE_SERVICE_NAME}",
"key" : "databasePassword"
"key" : "database-password"
}
}
},
Expand Down
Loading

0 comments on commit a5eaf99

Please sign in to comment.