Convert templates to v1beta3

This commit is contained in:
Rodolfo Carvalho 2015-06-03 16:34:49 +02:00
parent 3657c889b3
commit 3ed7c144cf
2 changed files with 17 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{ {
"kind": "Template", "kind": "Template",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source-postgresql", "name": "django-quickstart-source-postgresql",
"annotations": { "annotations": {
@ -15,7 +15,7 @@
"objects": [ "objects": [
{ {
"kind": "Service", "kind": "Service",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${FRONTEND_SERVICE_NAME}", "name": "${FRONTEND_SERVICE_NAME}",
"annotations": { "annotations": {
@ -37,7 +37,7 @@
}, },
{ {
"kind": "Service", "kind": "Service",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${DATABASE_SERVICE_NAME}", "name": "${DATABASE_SERVICE_NAME}",
"annotations": { "annotations": {
@ -59,7 +59,7 @@
}, },
{ {
"kind": "BuildConfig", "kind": "BuildConfig",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source", "name": "django-quickstart-source",
"annotations": { "annotations": {
@ -91,7 +91,8 @@
}, },
"triggers": [ "triggers": [
{ {
"type": "imageChange" "type": "imageChange",
"imageChange": {}
}, },
{ {
"type": "github", "type": "github",
@ -110,7 +111,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${FRONTEND_SERVICE_NAME}", "name": "${FRONTEND_SERVICE_NAME}",
"annotations": { "annotations": {
@ -201,7 +202,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${DATABASE_SERVICE_NAME}", "name": "${DATABASE_SERVICE_NAME}",
"labels": { "labels": {
@ -263,7 +264,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source", "name": "django-quickstart-source",
"annotations": { "annotations": {
@ -273,7 +274,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "python-33-centos7", "name": "python-33-centos7",
"annotations": { "annotations": {

View file

@ -1,6 +1,6 @@
{ {
"kind": "Template", "kind": "Template",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source", "name": "django-quickstart-source",
"annotations": { "annotations": {
@ -15,7 +15,7 @@
"objects": [ "objects": [
{ {
"kind": "Service", "kind": "Service",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${FRONTEND_SERVICE_NAME}", "name": "${FRONTEND_SERVICE_NAME}",
"annotations": { "annotations": {
@ -37,7 +37,7 @@
}, },
{ {
"kind": "BuildConfig", "kind": "BuildConfig",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source", "name": "django-quickstart-source",
"annotations": { "annotations": {
@ -69,7 +69,8 @@
}, },
"triggers": [ "triggers": [
{ {
"type": "imageChange" "type": "imageChange",
"imageChange": {}
}, },
{ {
"type": "github", "type": "github",
@ -88,7 +89,7 @@
}, },
{ {
"kind": "DeploymentConfig", "kind": "DeploymentConfig",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "${FRONTEND_SERVICE_NAME}", "name": "${FRONTEND_SERVICE_NAME}",
"annotations": { "annotations": {
@ -179,7 +180,7 @@
}, },
{ {
"kind": "ImageStream", "kind": "ImageStream",
"apiVersion": "v1", "apiVersion": "v1beta3",
"metadata": { "metadata": {
"name": "django-quickstart-source", "name": "django-quickstart-source",
"annotations": { "annotations": {