From 277b4b136970a7fd9bfa9336213f24028ad192ea Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Tue, 28 Apr 2020 14:15:45 +0100 Subject: [PATCH] Removed id from routes (#122) --- basic-dotnet-core/.openshift/templates/deployment.yml | 1 - basic-nginx/.openshift/deployment/template.yml | 1 - basic-spring-boot-tekton/.openshift/templates/deployment.yml | 1 - basic-tomcat/.openshift/deployment/template.yml | 1 - blue-green-spring/.openshift/deployment/template-bg.yml | 3 --- blue-green-spring/.openshift/deployment/template.yml | 1 - cucumber-selenium-grid/applier/templates/deployment.yml | 1 - .../image-mirror-example/.applier/templates/deployment.yml | 1 - .../skopeo-example/.applier/templates/deployment.yml | 1 - secure-spring-boot/.openshift-applier/templates/deployment.yml | 1 - 10 files changed, 12 deletions(-) diff --git a/basic-dotnet-core/.openshift/templates/deployment.yml b/basic-dotnet-core/.openshift/templates/deployment.yml index f4331eed..477518dc 100644 --- a/basic-dotnet-core/.openshift/templates/deployment.yml +++ b/basic-dotnet-core/.openshift/templates/deployment.yml @@ -25,7 +25,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/basic-nginx/.openshift/deployment/template.yml b/basic-nginx/.openshift/deployment/template.yml index af47593c..02a77037 100644 --- a/basic-nginx/.openshift/deployment/template.yml +++ b/basic-nginx/.openshift/deployment/template.yml @@ -62,7 +62,6 @@ objects: name: ${APPLICATION_NAME} namespace: ${APPLICATION_NAME}${ENV} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/basic-spring-boot-tekton/.openshift/templates/deployment.yml b/basic-spring-boot-tekton/.openshift/templates/deployment.yml index bcf5b943..9f59376c 100644 --- a/basic-spring-boot-tekton/.openshift/templates/deployment.yml +++ b/basic-spring-boot-tekton/.openshift/templates/deployment.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/basic-tomcat/.openshift/deployment/template.yml b/basic-tomcat/.openshift/deployment/template.yml index 8949dc71..38ad7237 100644 --- a/basic-tomcat/.openshift/deployment/template.yml +++ b/basic-tomcat/.openshift/deployment/template.yml @@ -69,7 +69,6 @@ objects: name: ${APPLICATION_NAME} namespace: ${APPLICATION_NAME}${ENV} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/blue-green-spring/.openshift/deployment/template-bg.yml b/blue-green-spring/.openshift/deployment/template-bg.yml index a14e1438..e42d3618 100644 --- a/blue-green-spring/.openshift/deployment/template-bg.yml +++ b/blue-green-spring/.openshift/deployment/template-bg.yml @@ -41,7 +41,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME}-blue - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: @@ -55,7 +54,6 @@ objects: to: name: ${APPLICATION_NAME}-blue - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: @@ -69,7 +67,6 @@ objects: to: name: ${APPLICATION_NAME}-blue - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/blue-green-spring/.openshift/deployment/template.yml b/blue-green-spring/.openshift/deployment/template.yml index de5dbc95..1fdd2881 100644 --- a/blue-green-spring/.openshift/deployment/template.yml +++ b/blue-green-spring/.openshift/deployment/template.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/cucumber-selenium-grid/applier/templates/deployment.yml b/cucumber-selenium-grid/applier/templates/deployment.yml index 9312e4c5..e96e41e7 100644 --- a/cucumber-selenium-grid/applier/templates/deployment.yml +++ b/cucumber-selenium-grid/applier/templates/deployment.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/multi-cluster-spring-boot/image-mirror-example/.applier/templates/deployment.yml b/multi-cluster-spring-boot/image-mirror-example/.applier/templates/deployment.yml index b852e7d5..10601564 100644 --- a/multi-cluster-spring-boot/image-mirror-example/.applier/templates/deployment.yml +++ b/multi-cluster-spring-boot/image-mirror-example/.applier/templates/deployment.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/multi-cluster-spring-boot/skopeo-example/.applier/templates/deployment.yml b/multi-cluster-spring-boot/skopeo-example/.applier/templates/deployment.yml index b852e7d5..10601564 100644 --- a/multi-cluster-spring-boot/skopeo-example/.applier/templates/deployment.yml +++ b/multi-cluster-spring-boot/skopeo-example/.applier/templates/deployment.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: diff --git a/secure-spring-boot/.openshift-applier/templates/deployment.yml b/secure-spring-boot/.openshift-applier/templates/deployment.yml index 39cffd76..6f4c1c69 100644 --- a/secure-spring-boot/.openshift-applier/templates/deployment.yml +++ b/secure-spring-boot/.openshift-applier/templates/deployment.yml @@ -26,7 +26,6 @@ objects: selector: deploymentConfig: ${APPLICATION_NAME} - apiVersion: v1 - id: ${APPLICATION_NAME}-http kind: Route metadata: annotations: