Skip to content

Commit 380f347

Browse files
authored
Merge pull request sclorg#63 from sallyom/group-services
group services in quickstarts
2 parents 9f38043 + d0e5792 commit 380f347

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

openshift/templates/django-postgresql-persistent.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"metadata": {
2020
"name": "${NAME}",
2121
"annotations": {
22-
"description": "Exposes and load balances the application pods"
22+
"description": "Exposes and load balances the application pods",
23+
"service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"namespace\": \"\", \"kind\": \"Service\"}]"
2324
}
2425
},
2526
"spec": {

openshift/templates/django-postgresql.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"metadata": {
2020
"name": "${NAME}",
2121
"annotations": {
22-
"description": "Exposes and load balances the application pods"
22+
"description": "Exposes and load balances the application pods",
23+
"service.alpha.openshift.io/dependencies": "[{\"name\": \"${DATABASE_SERVICE_NAME}\", \"namespace\": \"\", \"kind\": \"Service\"}]"
2324
}
2425
},
2526
"spec": {

0 commit comments

Comments
 (0)