-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
A new metric should be added to cluster-kube-apiserver-operator. The metric is a simple Gauge which indicates if any non-default SCC has been associated with the system:authenticated group.
The system:authenticated group can be modified in 2 ways:
- It is added to the groups of the anyuid SCC.
- The use verb is granted to the anyuid group through a ClusterRole
A single metric can be indicate if either of the above conditions is true. In the case of the gauge it can be a 0 or 1.
AC:
- New metric added to the operator
- E2E test where the SCC is modified and the group has a clusterrole bound to it. This should change the metric. Reverting the configuration should reset the metric.