mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator
MIT License
371 stars 146 forks source link

Feature request: k8s_ca_path and idp_ca_path contents from file #135

Closed p37ruh4 closed 4 years ago

p37ruh4 commented 4 years ago

Hello,

It would be nice to have an option to fetch IDP and K8S CA file contents from file in dex-k8s-authenticator, for example:

k8s_ca_path: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

This is especially useful for k8s API certificate as all pods already contain it by default. Some of OIDC client applications already seem to have this feature, for example, clusterCAPath parameter in Gangway: https://github.com/heptiolabs/gangway/blob/master/docs/configuration.md

p37ruh4 commented 4 years ago

Resolved by https://github.com/mintel/dex-k8s-authenticator/pull/136