-
Story
-
Resolution: Unresolved
-
Normal
-
Logging 6.0.3
-
Product / Portfolio Work
-
3
-
False
-
-
False
-
NEW
-
NEW
-
Release Note Not Required
-
-
-
5
-
Log Storage - Sprint 269, Log Storage - Sprint 270, Log Storage - Sprint 271, Log Storage - Sprint 272, Log Storage - Sprint 273, Logging - Sprint 274, Logging - Sprint 275, Logging - Sprint 276, Logging - Sprint 277, Logging - Sprint 278, Logging - Sprint 279, Logging - Sprint 281
Context
The loki-gateway which depends on observatorium/api & observatorium/opa-openshift issues TokenReviews to get user info from kube-api (observatorium/api) and preforms SubjectAccessReview to know if a user can access a given resource, namely namespaces (observatorium/opa-openshift). However to issue both these requests to kube-api the loki-gateway SA needs RBAC. In this issue our goal is to replace TokenReview with SelfSubjectReview and SubjectAccessReview with SelfSubjectAccessReview
Acceptance criteria
- In observatorium/api replace TokenReview with SelfSubjectReview
- In observatorium/opa-openshift replace SubjectAccessReview with SelfSubjectAccessReview
- In loki-operator enable both feature flags in both api & opa-openshift