Alternatives to long-lived SA tokens for configuring metrics in workload availability operators.

Solution Verified - Updated -

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 with Prometheus SA token and link that secret to ServiceMonitor resource.
    The documented steps need a long-lived SA token for Prometheus authentication. 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content