Skip to content

Commit

Permalink
Remove conditions from release tooling
Browse files Browse the repository at this point in the history
Starting with Pipeline v0.37.0, after tektoncd/pipeline#4942 merges, `conditions` will no longer be part of Pipeline. This removes references to `conditions` from the release tooling.

Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
  • Loading branch information
abayer authored and tekton-robot committed Jun 24, 2022
1 parent dd919a0 commit ef0c067
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tekton/ci/infra/0001_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ rules:
resources: ["pods", "pods/log", "namespaces"]
verbs: ["get", "list"]
- apiGroups: ["tekton.dev"]
resources: ["pipelines", "tasks", "pipelineruns", "pipelineresources", "taskruns", "conditions"]
resources: ["pipelines", "tasks", "pipelineruns", "pipelineresources", "taskruns"]
verbs: ["get"]
---
apiVersion: v1
Expand Down Expand Up @@ -135,4 +135,4 @@ subjects:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: triggers-minimal
name: triggers-minimal
4 changes: 2 additions & 2 deletions tekton/resources/cd/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ rules:
resources: ["roles", "rolebindings"]
verbs: ["*"]
- apiGroups: ["tekton.dev"]
resources: ["tasks", "pipelines", "conditions", "pipelineresources"]
resources: ["tasks", "pipelines", "pipelineresources"]
verbs: ["*"]
- apiGroups: ["triggers.tekton.dev"]
resources: ["eventlisteners", "triggerbindings", "triggertemplates"]
Expand Down Expand Up @@ -242,4 +242,4 @@ subjects:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: tekton-admin
name: tekton-admin
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
- name: package
- name: resources
description: space separated list of resources to be deleted
default: "conditions pipelineresources tasks pipelines taskruns pipelineruns"
default: "pipelineresources tasks pipelines taskruns pipelineruns"
- name: plumbing-path
description: path in the workspace for plumbing source code
default: src/github.com/tektoncd/plumbing
Expand Down
2 changes: 1 addition & 1 deletion tekton/resources/release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ tkn pipeline start \
--param=version=<version> \
--param=projectName=<tekton-project> \
--param=namespace=tekton-pipelines \
--param=resources="conditions pipelineresources tasks pipelines taskruns pipelineruns" \
--param=resources="pipelineresources tasks pipelines taskruns pipelineruns" \
--param=container-registry=docker-registry.default.svc:5000 \
--param=package=github.com/tektoncd/pipeline \
--resource=bucket=<tekton-bucket-resource> \
Expand Down
2 changes: 1 addition & 1 deletion tekton/resources/release/base/save-release-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ rules:
resources: ["pods", "pods/log", "namespaces"]
verbs: ["get", "list"]
- apiGroups: ["tekton.dev"]
resources: ["pipelines", "tasks", "pipelineruns", "pipelineresources", "taskruns", "conditions"]
resources: ["pipelines", "tasks", "pipelineruns", "pipelineresources", "taskruns"]
verbs: ["get"]
---
apiVersion: v1
Expand Down

0 comments on commit ef0c067

Please sign in to comment.