Skip to content

Commit

Permalink
Updated template kinds to use fully qualified apiVersion (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy authored Apr 29, 2020
1 parent 6aec3de commit 04343be
Show file tree
Hide file tree
Showing 40 changed files with 98 additions and 98 deletions.
16 changes: 8 additions & 8 deletions basic-dotnet-core/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-dotnet-core-build
creationTimestam: null
displayName: .NET Core App - Build
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-dotnet-core-dev
creationTimestam: null
displayName: .NET Core App - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-dotnet-core-stage
creationTimestam: null
displayName: .NET Core Appp - Stage
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-dotnet-core-prod
creationTimestam: null
Expand Down
2 changes: 1 addition & 1 deletion basic-dotnet-core/.openshift/templates/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-dotnet-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion basic-dotnet-core/.openshift/templates/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: basic-dotnet-core
Expand Down
2 changes: 1 addition & 1 deletion basic-nginx/.openshift/builds/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-nginx-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion basic-nginx/.openshift/deployment/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: deployment-template
Expand Down
16 changes: 8 additions & 8 deletions basic-nginx/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-nginx-dev
creationTimestam: null
displayName: Basic Nginx App - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-nginx-stage
creationTimestam: null
displayName: Basic Nginx App - Stage
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-nginx-prod
creationTimestam: null
displayName: Basic Tomcat App - Prod
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-nginx-build
creationTimestam: null
Expand Down
16 changes: 8 additions & 8 deletions basic-spring-boot-tekton/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-build
creationTimestam: null
displayName: Spring Rest App - Build
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-dev
creationTimestam: null
displayName: Spring Rest App - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-stage
creationTimestam: null
displayName: Spring Rest App - Stage
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-prod
creationTimestam: null
Expand Down
2 changes: 1 addition & 1 deletion basic-spring-boot-tekton/.openshift/templates/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-java-jenkins-pipeline
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: basic-spring-boot
Expand Down
16 changes: 8 additions & 8 deletions basic-spring-boot/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-build
creationTimestam: null
displayName: Spring Rest App - Build
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-dev
creationTimestam: null
displayName: Spring Rest App - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-stage
creationTimestam: null
displayName: Spring Rest App - Stage
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-spring-boot-prod
labels:
Expand Down
2 changes: 1 addition & 1 deletion basic-spring-boot/.openshift/templates/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-java-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion basic-spring-boot/.openshift/templates/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: basic-spring-boot
Expand Down
2 changes: 1 addition & 1 deletion basic-tomcat/.openshift/builds/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-java-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion basic-tomcat/.openshift/deployment/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: deployment-template
Expand Down
16 changes: 8 additions & 8 deletions basic-tomcat/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-tomcat-dev
creationTimestam: null
displayName: Basic Tomcat App - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-tomcat-stage
creationTimestam: null
displayName: Basic Tomcat App - Stage
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-tomcat-prod
creationTimestam: null
displayName: Basic Tomcat App - Prod
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: basic-tomcat-build
creationTimestam: null
Expand Down
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/builds/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-java-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/deployment/template-bg.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: openjdk-deployment
Expand Down
2 changes: 1 addition & 1 deletion blue-green-spring/.openshift/deployment/template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: openjdk-deployment
Expand Down
16 changes: 8 additions & 8 deletions blue-green-spring/.openshift/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: spring-boot-web-dev
creationTimestam: null
displayName: Spring Boot Blue Green - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: spring-boot-web-stage
creationTimestam: null
displayName: Spring Boot Blue Green - Staging
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: spring-boot-web-prod
creationTimestam: null
displayName: Spring Boot Blue Green - Prod
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: spring-boot-web-build
creationTimestam: null
Expand Down
18 changes: 9 additions & 9 deletions cucumber-selenium-grid/applier/projects/projects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: todomvc-projects
Expand All @@ -7,26 +7,26 @@ metadata:
description: Template for creating todomvc projects
name: todomvc-projects
objects:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: ${APPLICATION_NAME}-build
creationTimestam: null
displayName: "${APPLICATION_NAME} - Build"
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: "${APPLICATION_NAME}-dev"
creationTimestam: null
displayName: "${APPLICATION_NAME} - Dev"
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: "${APPLICATION_NAME}-stage"
creationTimestam: null
displayName: "${APPLICATION_NAME} - Stage"
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: "${APPLICATION_NAME}-prod"
creationTimestam: null
Expand Down
2 changes: 1 addition & 1 deletion cucumber-selenium-grid/applier/templates/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: generic-java-jenkins-pipeline
Expand Down
2 changes: 1 addition & 1 deletion cucumber-selenium-grid/applier/templates/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: basic-nodejs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: jenkins-slave-node-8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: zalenium
Expand Down
2 changes: 1 addition & 1 deletion jenkins-s2i/jenkins-s2i.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
apiVersion: template.openshift.io/v1
kind: Template
labels:
template: jenkins2-s2i
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
apiVersion: template.openshift.io/v1
kind: Template
apiVersion: v1
metadata:
name: ${NAME}-deploy-jboss-eap
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: multicluster-spring-boot-prod
creationTimestam: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v1
kind: List
items:
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: multicluster-spring-boot-dev
creationTimestam: null
displayName: MultiCluster Pipeline - Dev
- kind: ProjectRequest
apiVersion: v1
- apiVersion: project.openshift.io/v1
kind: ProjectRequest
metadata:
name: multicluster-spring-boot-stage
creationTimestam: null
Expand Down
Loading

0 comments on commit 04343be

Please sign in to comment.