Skip to content

Commit

Permalink
Refactor the CRD's and CR's
Browse files Browse the repository at this point in the history
Create symbolic links for all crd yaml files

(cherry picked from commit b21b5bc)
(cherry picked from commit b72c530)

Signed-off-by: Nikhil Thomas <[email protected]>
  • Loading branch information
Vincent Hou authored and tekton-robot committed Jul 20, 2020
1 parent 380de05 commit 183659a
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 25 deletions.
1 change: 1 addition & 0 deletions config/300-operator_v1alpha1_addon_crd.yaml
1 change: 1 addition & 0 deletions config/300-operator_v1alpha1_pipeline_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
kind: TektonPipeline
listKind: TektonPipelineList
plural: tektonpipelines
singular: tektonipeline
singular: tektonpipeline
scope: Cluster
subresources:
status: {}
Expand Down
4 changes: 1 addition & 3 deletions config/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ spec:
serviceAccountName: tekton-operator
containers:
- name: tekton-operator
image: github.com/tektoncd/operator/cmd/manager
command:
- tekton-operator
image: ko://github.com/tektoncd/operator/cmd/manager
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
Expand Down
9 changes: 0 additions & 9 deletions config/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,3 @@ rules:
- delete
- patch
- watch
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: tekton-operator
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
12 changes: 0 additions & 12 deletions config/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,3 @@ roleRef:
kind: ClusterRole
name: tekton-operator
apiGroup: rbac.authorization.k8s.io
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: tekton-operator
subjects:
- kind: ServiceAccount
name: tekton-operator
roleRef:
kind: Role
name: tekton-operator
apiGroup: rbac.authorization.k8s.io

0 comments on commit 183659a

Please sign in to comment.