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

Fixes namespac in clusterrolebinding in getting-started #1106

Merged
merged 1 commit into from May 25, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/getting-started/README.md
Expand Up @@ -55,7 +55,8 @@ Configure your cluster as follows:
2. Create the [`admin` user, role, and rolebinding](./rbac/admin-role.yaml) using the following command:

```
kubectl -n getting-started apply -f ./docs/getting-started/rbac/admin-role.yaml
kubectl -n getting-started apply -f ./docs/getting-started/rbac/admin-role.yaml \
-f ./docs/getting-started/rbac/clusterrolebinding.yaml
```
3. (Optional) If you have already provisioned a cluster secret for a "Let's Encrypt" certificate,
you must export it and then import it into your `getting-started` namespace. For example:
Expand Down
12 changes: 12 additions & 0 deletions docs/getting-started/rbac/clusterrolebinding.yaml
@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tekton-triggers-getting-started-clusterbinding
subjects:
- kind: ServiceAccount
name: tekton-triggers-example-sa
namespace: getting-started
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: tekton-triggers-example-clusterrole
1 change: 1 addition & 0 deletions docs/getting-started/rbac/webhook-role.yaml
Expand Up @@ -49,6 +49,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: tekton-triggers-createwebhook
namespace: getting-started
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand Down