|
2 | 2 | "kind": "Template",
|
3 | 3 | "apiVersion": "v1",
|
4 | 4 | "metadata": {
|
5 |
| - "name": "django-postgresql-example", |
| 5 | + "name": "django-psql-example", |
6 | 6 | "annotations": {
|
7 | 7 | "description": "An example Django application with a PostgreSQL database",
|
8 | 8 | "tags": "instant-app,python,django,postgresql",
|
9 | 9 | "iconClass": "icon-python"
|
10 | 10 | }
|
11 | 11 | },
|
12 | 12 | "labels": {
|
13 |
| - "template": "django-postgresql-example" |
| 13 | + "template": "django-psql-example" |
14 | 14 | },
|
15 | 15 | "objects": [
|
16 | 16 | {
|
17 | 17 | "kind": "Service",
|
18 | 18 | "apiVersion": "v1",
|
19 | 19 | "metadata": {
|
20 |
| - "name": "django-postgresql-example", |
| 20 | + "name": "django-psql-example", |
21 | 21 | "annotations": {
|
22 | 22 | "description": "Exposes and load balances the application pods"
|
23 | 23 | }
|
|
31 | 31 | }
|
32 | 32 | ],
|
33 | 33 | "selector": {
|
34 |
| - "name": "django-postgresql-example" |
| 34 | + "name": "django-psql-example" |
35 | 35 | }
|
36 | 36 | }
|
37 | 37 | },
|
38 | 38 | {
|
39 | 39 | "kind": "Route",
|
40 | 40 | "apiVersion": "v1",
|
41 | 41 | "metadata": {
|
42 |
| - "name": "django-postgresql-example" |
| 42 | + "name": "django-psql-example" |
43 | 43 | },
|
44 | 44 | "spec": {
|
45 | 45 | "host": "${APPLICATION_DOMAIN}",
|
46 | 46 | "to": {
|
47 | 47 | "kind": "Service",
|
48 |
| - "name": "django-postgresql-example" |
| 48 | + "name": "django-psql-example" |
49 | 49 | }
|
50 | 50 | }
|
51 | 51 | },
|
52 | 52 | {
|
53 | 53 | "kind": "ImageStream",
|
54 | 54 | "apiVersion": "v1",
|
55 | 55 | "metadata": {
|
56 |
| - "name": "django-postgresql-example", |
| 56 | + "name": "django-psql-example", |
57 | 57 | "annotations": {
|
58 | 58 | "description": "Keeps track of changes in the application image"
|
59 | 59 | }
|
|
63 | 63 | "kind": "BuildConfig",
|
64 | 64 | "apiVersion": "v1",
|
65 | 65 | "metadata": {
|
66 |
| - "name": "django-postgresql-example", |
| 66 | + "name": "django-psql-example", |
67 | 67 | "annotations": {
|
68 | 68 | "description": "Defines how to build the application"
|
69 | 69 | }
|
|
90 | 90 | "output": {
|
91 | 91 | "to": {
|
92 | 92 | "kind": "ImageStreamTag",
|
93 |
| - "name": "django-postgresql-example:latest" |
| 93 | + "name": "django-psql-example:latest" |
94 | 94 | }
|
95 | 95 | },
|
96 | 96 | "triggers": [
|
|
110 | 110 | "kind": "DeploymentConfig",
|
111 | 111 | "apiVersion": "v1",
|
112 | 112 | "metadata": {
|
113 |
| - "name": "django-postgresql-example", |
| 113 | + "name": "django-psql-example", |
114 | 114 | "annotations": {
|
115 | 115 | "description": "Defines how to deploy the application server"
|
116 | 116 | }
|
|
125 | 125 | "imageChangeParams": {
|
126 | 126 | "automatic": true,
|
127 | 127 | "containerNames": [
|
128 |
| - "django-postgresql-example" |
| 128 | + "django-psql-example" |
129 | 129 | ],
|
130 | 130 | "from": {
|
131 | 131 | "kind": "ImageStreamTag",
|
132 |
| - "name": "django-postgresql-example:latest" |
| 132 | + "name": "django-psql-example:latest" |
133 | 133 | }
|
134 | 134 | }
|
135 | 135 | },
|
|
139 | 139 | ],
|
140 | 140 | "replicas": 1,
|
141 | 141 | "selector": {
|
142 |
| - "name": "django-postgresql-example" |
| 142 | + "name": "django-psql-example" |
143 | 143 | },
|
144 | 144 | "template": {
|
145 | 145 | "metadata": {
|
146 |
| - "name": "django-postgresql-example", |
| 146 | + "name": "django-psql-example", |
147 | 147 | "labels": {
|
148 |
| - "name": "django-postgresql-example" |
| 148 | + "name": "django-psql-example" |
149 | 149 | }
|
150 | 150 | },
|
151 | 151 | "spec": {
|
152 | 152 | "containers": [
|
153 | 153 | {
|
154 |
| - "name": "django-postgresql-example", |
155 |
| - "image": "django-postgresql-example", |
| 154 | + "name": "django-psql-example", |
| 155 | + "image": "django-psql-example", |
156 | 156 | "ports": [
|
157 | 157 | {
|
158 | 158 | "containerPort": 8080
|
|
293 | 293 | {
|
294 | 294 | "name": "APPLICATION_DOMAIN",
|
295 | 295 | "description": "The exposed hostname that will route to the Django service",
|
296 |
| - "value": "django-postgresql-example.openshiftapps.com" |
| 296 | + "value": "django-psql-example.openshiftapps.com" |
297 | 297 | },
|
298 | 298 | {
|
299 | 299 | "name": "GITHUB_WEBHOOK_SECRET",
|
|
0 commit comments