mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: k8s_ca_path and idp_ca_path contents from file

p37ruh4 opened this issue · comments

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

Resolved by #136