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

Tekton and Topology: Prerequisites in documentation insufficient to view logs #667

Closed
Zaperex opened this issue Aug 23, 2023 · 1 comment · Fixed by #668
Closed

Tekton and Topology: Prerequisites in documentation insufficient to view logs #667

Zaperex opened this issue Aug 23, 2023 · 1 comment · Fixed by #668

Comments

@Zaperex
Copy link
Member

Zaperex commented Aug 23, 2023

What needs to be done

The current documentation for the Tekton and Topology plugin requires the user to create a Service Account for the Kubernetes plugin. It references the Kubernetes RBAC section in the backstage documentation, which does not mention the permissions required to display the pod logs.
image

To remedy this, the user would also need to provide the following permission (specifically the pods/log permission) to the Service Account's ClusterRole:

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: view-pod-logs
rules:
  # Base for Kubernetes plugin
  - apiGroups:
      - ""
    resources:
      - pods
      - pods/log
     verbs:
      - get
      - list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant