Closed nevalla closed 5 years ago
Telepresence mounts service account's token and ca cert in $TELEPRESENCE_ROOT/var/run/secrets/kubernetes.io/serviceaccount/ path. Would be nice if we could allow to use this files with in_cluster_config method.
$TELEPRESENCE_ROOT/var/run/secrets/kubernetes.io/serviceaccount/
in_cluster_config
It's possible to pass the ssl_ca_path and auth token manually, but it could still try to use the TELEPRESENCE_ROOT when set.
Looks like not via K8s::Client.in_cluster_config which does not pass the **options.
K8s::Client.in_cluster_config
**options
Telepresence mounts service account's token and ca cert in
$TELEPRESENCE_ROOT/var/run/secrets/kubernetes.io/serviceaccount/
path. Would be nice if we could allow to use this files within_cluster_config
method.