Skip to content

Commit

Permalink
docs(tekton): minor changes in tekton documentation (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmanwani-rh authored Sep 5, 2023
1 parent 425a09b commit 02a18fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/tekton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The Tekton plugin enables you to visualize the `PipelineRun` resources available
```
- The Kubernetes plugin is configured and connects to the cluster using a `ServiceAccount`.
- The [`ClusterRole`](https://backstage.io/docs/features/kubernetes/configuration#role-based-access-control) must be granted for custom resources (PipelineRuns and TaskRuns) to `ServiceAccount` accessing the cluster.
- To be able to view the pod logs, you will need to the grant permissions for `pods/log`
- To view the pod logs, you have granted permissions for `pods/log`.
- If you have the Backstage Kubernetes Plugin configured, then the `ClusterRole` is already granted.

You can use the following code to grant the `ClusterRole` for custom resources and pod logs:
Expand Down Expand Up @@ -56,7 +56,7 @@ The Tekton plugin enables you to visualize the `PipelineRun` resources available
```

> Tip: You can use our [prepared manifest for a read-only `ClusterRole`](https://raw.githubusercontent.com/janus-idp/backstage-plugins/main/plugins/tekton/manifests/clusterrole.yaml), providing both Kubernetes plugin and Tekton plugin access.
> Tip: You can use the [prepared manifest for a read-only `ClusterRole`](https://raw.githubusercontent.com/janus-idp/backstage-plugins/main/plugins/tekton/manifests/clusterrole.yaml), which provides access for both Kubernetes plugin and Tekton plugin.

- The following annotation is added to the entity's `catalog-info.yaml` file to identify whether an entity contains the Kubernetes resources:

Expand Down

0 comments on commit 02a18fb

Please sign in to comment.