Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated template kinds to use fully qualified apiVersion #128

Merged
merged 1 commit into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Updated template kinds to use fully qualified apiVersion
  • Loading branch information
garethahealy committed Apr 29, 2020
commit 437a11ad806c5fc61b5ad62c3c98a6d8e971ba28
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