dex-k8s-authenticator icon indicating copy to clipboard operation
dex-k8s-authenticator copied to clipboard

k8s_ca_pem_base64_encoded not used?

Open Taragos opened this issue 3 years ago • 1 comments

Hello,

I recently deployed the K8S Authenticator in our environment and it is working pretty good. The only issue I have is with supplying the CA PEM in base64 encoded format.

When trying to supply it via k8s_ca_pem_base64_encoded I would have expected an option that sets the certificate-authority-data field to the given Base64 encoded Value. But this is not the case for my instance. (Supplying the Certificate via one of the other Options works fine but I personally don't like the approach of not having the certificate in my kubeconfig as it is another component one has to look out for)

Taragos avatar Jul 07 '21 15:07 Taragos

it appears that feature was added to master with this PR (06/15/2021): https://github.com/mintel/dex-k8s-authenticator/pull/171

but the last release was v1.4.0 back in 12/16/2020 and doesn't include this feature yet.

you can update your image to: docker.io/mintel/dex-k8s-authenticator:latest, and it should work (just tested and it did). not a fan of using "latest", but not sure what the process is for new releases.

looks like @nabadger creates all of the releases.

efossas avatar Apr 04 '22 21:04 efossas