summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-25 08:21:08 -0500
committerScott Dodson <sdodson@redhat.com>2017-01-25 08:21:57 -0500
commit059ca93e37eaad6f83755e56f65d8175893972f0 (patch)
tree507054f0ec1fb4ae86080d74cf0436c2a276a65d /roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json
parent8b4c3d65469c444402317eaaecae9e955b4b4f20 (diff)
downloadopenshift-059ca93e37eaad6f83755e56f65d8175893972f0.tar.gz
openshift-059ca93e37eaad6f83755e56f65d8175893972f0.tar.bz2
openshift-059ca93e37eaad6f83755e56f65d8175893972f0.tar.xz
openshift-059ca93e37eaad6f83755e56f65d8175893972f0.zip
Sync latest image streams
Diffstat (limited to 'roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json')
-rw-r--r--roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json20
1 files changed, 13 insertions, 7 deletions
diff --git a/roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json b/roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json
index 59ff8a988..64b914e61 100644
--- a/roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json
+++ b/roles/openshift_examples/files/examples/v1.5/quickstart-templates/django-postgresql.json
@@ -22,8 +22,9 @@
"name": "${NAME}"
},
"stringData" : {
- "databaseUser" : "${DATABASE_USER}",
- "databasePassword" : "${DATABASE_PASSWORD}"
+ "database-user" : "${DATABASE_USER}",
+ "database-password" : "${DATABASE_PASSWORD}",
+ "django-secret-key" : "${DJANGO_SECRET_KEY}"
}
},
{
@@ -218,7 +219,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${NAME}",
- "key" : "databaseUser"
+ "key" : "database-user"
}
}
},
@@ -227,7 +228,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${NAME}",
- "key" : "databasePassword"
+ "key" : "database-password"
}
}
},
@@ -237,7 +238,12 @@
},
{
"name": "DJANGO_SECRET_KEY",
- "value": "${DJANGO_SECRET_KEY}"
+ "valueFrom": {
+ "secretKeyRef" : {
+ "name" : "${NAME}",
+ "key" : "django-secret-key"
+ }
+ }
}
],
"resources": {
@@ -338,7 +344,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${NAME}",
- "key" : "databaseUser"
+ "key" : "database-user"
}
}
},
@@ -347,7 +353,7 @@
"valueFrom": {
"secretKeyRef" : {
"name" : "${NAME}",
- "key" : "databasePassword"
+ "key" : "database-password"
}
}
},