From 3ed7c144cfd5ff081d36e9e8cae691e9d839699e Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Wed, 3 Jun 2015 16:34:49 +0200 Subject: [PATCH] Convert templates to v1beta3 --- openshift/django-source-postgresql.json | 19 ++++++++++--------- openshift/django-source.json | 13 +++++++------ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/openshift/django-source-postgresql.json b/openshift/django-source-postgresql.json index c111a7a..3792f99 100644 --- a/openshift/django-source-postgresql.json +++ b/openshift/django-source-postgresql.json @@ -1,6 +1,6 @@ { "kind": "Template", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source-postgresql", "annotations": { @@ -15,7 +15,7 @@ "objects": [ { "kind": "Service", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${FRONTEND_SERVICE_NAME}", "annotations": { @@ -37,7 +37,7 @@ }, { "kind": "Service", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${DATABASE_SERVICE_NAME}", "annotations": { @@ -59,7 +59,7 @@ }, { "kind": "BuildConfig", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source", "annotations": { @@ -91,7 +91,8 @@ }, "triggers": [ { - "type": "imageChange" + "type": "imageChange", + "imageChange": {} }, { "type": "github", @@ -110,7 +111,7 @@ }, { "kind": "DeploymentConfig", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${FRONTEND_SERVICE_NAME}", "annotations": { @@ -201,7 +202,7 @@ }, { "kind": "DeploymentConfig", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${DATABASE_SERVICE_NAME}", "labels": { @@ -263,7 +264,7 @@ }, { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source", "annotations": { @@ -273,7 +274,7 @@ }, { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "python-33-centos7", "annotations": { diff --git a/openshift/django-source.json b/openshift/django-source.json index c1d8e5b..120aef7 100644 --- a/openshift/django-source.json +++ b/openshift/django-source.json @@ -1,6 +1,6 @@ { "kind": "Template", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source", "annotations": { @@ -15,7 +15,7 @@ "objects": [ { "kind": "Service", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${FRONTEND_SERVICE_NAME}", "annotations": { @@ -37,7 +37,7 @@ }, { "kind": "BuildConfig", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source", "annotations": { @@ -69,7 +69,8 @@ }, "triggers": [ { - "type": "imageChange" + "type": "imageChange", + "imageChange": {} }, { "type": "github", @@ -88,7 +89,7 @@ }, { "kind": "DeploymentConfig", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "${FRONTEND_SERVICE_NAME}", "annotations": { @@ -179,7 +180,7 @@ }, { "kind": "ImageStream", - "apiVersion": "v1", + "apiVersion": "v1beta3", "metadata": { "name": "django-quickstart-source", "annotations": {