On managed Red Hat OpenShift on IBM Cloud (ROKS, VPC), the Kubernetes service-account token issuer is set to the internal-only URL https://kubernetes.default.svc. The OIDC discovery document confirms this:
$ oc get --raw /.well-known/openid-configuration {"issuer":"https://kubernetes.default.svc","jwks_uri":"https://kubernetes.default.svc/openid/v1/jwks", ...}
Because the issuer is https://kubernetes.default.svc, it is only reachable inside the cluster, an external service cannot fetch the OIDC discovery document or JWKS to verify the tokens. On ROSA clusters this works because the issuer is a public URL (e.g. https://oidc.op1.openshiftapps.com/); we need the equivalent on managed ROKS.
As a non-admin we cannot read/modify the cluster authentication config either (oc get authentication.config.openshift.io cluster returns Forbidden), so we need IBM's supported mechanism for this.
A supported way to configure an externally reachable service-account issuer on the managed ROKS cluster (a custom serviceAccountIssuer pointing at a public URL) is required, or an externally reachable OIDC discovery + JWKS endpoint), so external OIDC consumers can validate the cluster's projected tokens — comparable to ROSA's public issuer. We need an external OIDC relying party (Red Hat Advanced Cluster Security Cloud Service, hosted at *.acs.rhcloud.com) to validate projected service-account tokens issued by this cluster.
Related support ticket: https://cloud.ibm.com/unifiedsupport/cases?accountId=9e4b23fd2bfb4eccb7b473598ba4f471&number=CS4589420
| Idea priority | High |
| Needed By | Yesterday (Let's go already!) |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.