You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run pinniped get kubeconfig after configuring my Supervisor and Concierge to work via a GitHubIdentityProvider, FederationDomain, and JWTAuthenticator. I use Jetstacks trust manager to copy my ca-bundle with the correct ca.crt to a Secret in the namespace of the Concierge.
When setting the JWTAuthenticator's spec.tls options with certificateAuthorityData and the value of the ca.crt the pinniped cli can autodiscover the value of certificateAuthorityData. But when setting it with the certificateAuthorityDataSource pinniped cli is unable to autodiscover the value of certificateAuthorityDataSource.key.
Cloud provider or hardware configuration: kind v0.26.0 go1.23.4 darwin/arm64
OS (e.g: cat /etc/os-release): MacOS 15.2
Kernel (e.g. uname -a): Darwin Kernel Version 24.2.0
Others: ??
What else is there to know about this bug?
A workaround is to feed in the necessary information to the pinniped cli:
pinniped get kubeconfig --oidc-ca-bundle ca-bundle.crt # where the ca-bundle.crt file contains the value of the ca.crt for the CA used to create the pinniped tls cert.
The text was updated successfully, but these errors were encountered:
Our team currently do not have the time/resources to do the contribution, and we deemed the workaround good enough for now. So we will not be doing a contribution on the short run.
We do however want this to work (and we have made an issue on it in our own backlog), so the priority might change, and we might pick it up then. So let's just see who gets time first 🙂
What happened?
I tried to run
pinniped get kubeconfig
after configuring my Supervisor and Concierge to work via aGitHubIdentityProvider
,FederationDomain
, andJWTAuthenticator
. I use Jetstacks trust manager to copy my ca-bundle with the correctca.crt
to aSecret
in the namespace of the Concierge.When setting the
JWTAuthenticator
'sspec.tls
options withcertificateAuthorityData
and the value of theca.crt
the pinniped cli can autodiscover the value ofcertificateAuthorityData
. But when setting it with thecertificateAuthorityDataSource
pinniped cli is unable to autodiscover the value ofcertificateAuthorityDataSource.key
.See https://kubernetes.slack.com/archives/C01BW364RJA/p1736351917591009 for more info.
What did you expect to happen?
I expected the the pinniped CLI to autodiscover the tls configuration set in my
JWTAuthenticator
.What is the simplest way to reproduce this behavior?
Switch between using
certificateAuthorityData
andcertificateAuthorityDataSource
in aJWTAuthenticator
, and executepinniped get kubeconfig
.In what environment did you see this bug?
kubectl version
): v1.32.0kubeadm version
): kind v0.26.0 go1.23.4 darwin/arm64cat /etc/os-release
): MacOS 15.2uname -a
): Darwin Kernel Version 24.2.0What else is there to know about this bug?
A workaround is to feed in the necessary information to the pinniped cli:
pinniped get kubeconfig --oidc-ca-bundle ca-bundle.crt # where the ca-bundle.crt file contains the value of the ca.crt for the CA used to create the pinniped tls cert.
The text was updated successfully, but these errors were encountered: