Alternatives to long-lived SA tokens for configuring metrics in workload availability operators.
Issue
- Alternatives to long-lived SA tokens for configuring metrics in workload availability operators.
- As per documentation to configure metrics for
Openshift Workload Availability, users need to create a secret withPrometheusSA token and link that secret toServiceMonitorresource.
The documented steps need a long-lived SA token forPrometheusauthentication. For security reasons, it is mostly recommended not to keep any long-lived unexpired token in cluster.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Node Health Check Operator
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.