Skip to content

calico/typha: Adjust access on `endpoints`

Yannic Ahrens requested to merge fix/permissions-of-calico-typha into devel

calico/typha: Adjust access on endpoints

https://gitlab.com/yaook/k8s/-/issues/531 shows how calico-typha fails
to discover typha endpoints (at least according to the logs). This
commit extends the permissions of the calico-typha ClusterRole to `get`
resources of type `endpoints`. The surrounding method [0] looks sane to
me.

Closes #531

[0] https://github.com/projectcalico/calico/blob/f49e99872cd53ac96ffe40db2431ba6ed5dc9bb1/typha/pkg/k8s/lookup.go#L65

Closes: #531 (closed)


Merge Prerequisites

  • MR title (and description) are descriptive
  • Code is readable and syntactically correct
  • Code is understandable
  • Documentation has been updated, if necessary
  • Changelog has been updated, if necessary
  • Commit messages look good

As a developer: please do not tick these boxes yourself. As a reviewer: please get yourself a hot cold beverage.

Edited by Steve Starke

Merge request reports

Loading