From cf6df2a2e7d65d20ca6264bb9c7114e53e91574f Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Sun, 15 May 2022 09:18:37 +0200 Subject: [PATCH 1/2] Add singular to Tekton CRDs. I noticed `singular:` was missing from most of the Tekton CRDs, so this populates them. Fixes: #4874 --- config/300-clustertask.yaml | 1 + config/300-condition.yaml | 1 + config/300-pipeline.yaml | 1 + config/300-pipelinerun.yaml | 1 + config/300-resource.yaml | 1 + config/300-run.yaml | 1 + config/300-task.yaml | 1 + config/300-taskrun.yaml | 1 + 8 files changed, 8 insertions(+) diff --git a/config/300-clustertask.yaml b/config/300-clustertask.yaml index 456062b039a..78b4e6edb66 100644 --- a/config/300-clustertask.yaml +++ b/config/300-clustertask.yaml @@ -64,6 +64,7 @@ spec: names: kind: ClusterTask plural: clustertasks + singular: clustertask categories: - tekton - tekton-pipelines diff --git a/config/300-condition.yaml b/config/300-condition.yaml index 13001edbd58..fa76b8558c6 100644 --- a/config/300-condition.yaml +++ b/config/300-condition.yaml @@ -45,6 +45,7 @@ spec: names: kind: Condition plural: conditions + singular: condition categories: - tekton - tekton-pipelines diff --git a/config/300-pipeline.yaml b/config/300-pipeline.yaml index 52ba2066af0..dc01c750397 100644 --- a/config/300-pipeline.yaml +++ b/config/300-pipeline.yaml @@ -64,6 +64,7 @@ spec: names: kind: Pipeline plural: pipelines + singular: pipeline categories: - tekton - tekton-pipelines diff --git a/config/300-pipelinerun.yaml b/config/300-pipelinerun.yaml index 06ab5e76043..a995a692ed5 100644 --- a/config/300-pipelinerun.yaml +++ b/config/300-pipelinerun.yaml @@ -90,6 +90,7 @@ spec: names: kind: PipelineRun plural: pipelineruns + singular: pipelineruns categories: - tekton - tekton-pipelines diff --git a/config/300-resource.yaml b/config/300-resource.yaml index f85b3747fdb..4760db76d39 100644 --- a/config/300-resource.yaml +++ b/config/300-resource.yaml @@ -45,6 +45,7 @@ spec: names: kind: PipelineResource plural: pipelineresources + singular: pipelineresource categories: - tekton - tekton-pipelines diff --git a/config/300-run.yaml b/config/300-run.yaml index 7dd65222c68..972c2fb8200 100644 --- a/config/300-run.yaml +++ b/config/300-run.yaml @@ -59,6 +59,7 @@ spec: names: kind: Run plural: runs + singular: run categories: - tekton - tekton-pipelines diff --git a/config/300-task.yaml b/config/300-task.yaml index a853a2d2d69..af21a74b29f 100644 --- a/config/300-task.yaml +++ b/config/300-task.yaml @@ -64,6 +64,7 @@ spec: names: kind: Task plural: tasks + singular: task categories: - tekton - tekton-pipelines diff --git a/config/300-taskrun.yaml b/config/300-taskrun.yaml index 60bfc70e39b..47cafcfbb27 100644 --- a/config/300-taskrun.yaml +++ b/config/300-taskrun.yaml @@ -90,6 +90,7 @@ spec: names: kind: TaskRun plural: taskruns + singular: taskrun categories: - tekton - tekton-pipelines From 5653a7e89b01fda139b6d8e2ea2c68df90e77a2f Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Mon, 16 May 2022 06:23:16 +0200 Subject: [PATCH 2/2] Fix pipelinerun singular --- config/300-pipelinerun.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/300-pipelinerun.yaml b/config/300-pipelinerun.yaml index a995a692ed5..5552c61570d 100644 --- a/config/300-pipelinerun.yaml +++ b/config/300-pipelinerun.yaml @@ -90,7 +90,7 @@ spec: names: kind: PipelineRun plural: pipelineruns - singular: pipelineruns + singular: pipelinerun categories: - tekton - tekton-pipelines