Browse Source

Use groupified apiVersion

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
pull/191/head
Petr "Stone" Hracek 3 years ago
parent
commit
15c6046b08
3 changed files with 17 additions and 17 deletions
  1. +6
    -6
      openshift/templates/django-postgresql-persistent.json
  2. +6
    -6
      openshift/templates/django-postgresql.json
  3. +5
    -5
      openshift/templates/django.json

+ 6
- 6
openshift/templates/django-postgresql-persistent.json View File

@ -1,6 +1,6 @@
{ {
"kind": "Template", "kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": { "metadata": {
"name": "django-psql-persistent", "name": "django-psql-persistent",
"annotations": { "annotations": {
@ -58,7 +58,7 @@
}, },
{ {
"kind": "Route", "kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}" "name": "${NAME}"
}, },
@ -72,7 +72,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -82,7 +82,7 @@
}, },
{ {
"kind": "BuildConfig", "kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -142,7 +142,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -306,7 +306,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": { "metadata": {
"name": "${DATABASE_SERVICE_NAME}", "name": "${DATABASE_SERVICE_NAME}",
"annotations": { "annotations": {


+ 6
- 6
openshift/templates/django-postgresql.json View File

@ -1,6 +1,6 @@
{ {
"kind": "Template", "kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": { "metadata": {
"name": "django-psql-example", "name": "django-psql-example",
"annotations": { "annotations": {
@ -58,7 +58,7 @@
}, },
{ {
"kind": "Route", "kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}" "name": "${NAME}"
}, },
@ -72,7 +72,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -82,7 +82,7 @@
}, },
{ {
"kind": "BuildConfig", "kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -142,7 +142,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -289,7 +289,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": { "metadata": {
"name": "${DATABASE_SERVICE_NAME}", "name": "${DATABASE_SERVICE_NAME}",
"annotations": { "annotations": {


+ 5
- 5
openshift/templates/django.json View File

@ -1,6 +1,6 @@
{ {
"kind": "Template", "kind": "Template",
"apiVersion": "v1",
"apiVersion": "template.openshift.io/v1",
"metadata": { "metadata": {
"name": "django-example", "name": "django-example",
"annotations": { "annotations": {
@ -55,7 +55,7 @@
}, },
{ {
"kind": "Route", "kind": "Route",
"apiVersion": "v1",
"apiVersion": "route.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}" "name": "${NAME}"
}, },
@ -69,7 +69,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1",
"apiVersion": "image.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -79,7 +79,7 @@
}, },
{ {
"kind": "BuildConfig", "kind": "BuildConfig",
"apiVersion": "v1",
"apiVersion": "build.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {
@ -139,7 +139,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1",
"apiVersion": "apps.openshift.io/v1",
"metadata": { "metadata": {
"name": "${NAME}", "name": "${NAME}",
"annotations": { "annotations": {


Loading…
Cancel
Save