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
Would it be possible to respect the KUBECACHEDIR environment variable in azure kubelogin ?
If a use case helps justify the need: I am using environment module to load different configuration for az cli and kubectl, as we are using different az identities for multiple clusters.
With KUBECACHEDIR not being supported, I can only use one az identity at a time for kubectl, as ~/.kube/cache is shared, whereas az and kubectl config are separated.
Thank you
JP
The text was updated successfully, but these errors were encountered:
jjournet
pushed a commit
to jjournet/kubelogin
that referenced
this issue
Aug 2, 2024
* support of environment variable KUBECACHEDIR #500
* Shifting place to change token assignation to follow @weinong advice
* Revert "Shifting place to change token assignation to follow @weinong advice"
This reverts commit 5b333d0.
* fixing lint error (var name)
---------
Co-authored-by: JP Journet <jjournet@healthequity.com>
Hello,
kubectl supports the KUBECACHEDIR environment variable to change the default location of
~/.kube/cache
The kubelogin implementaion from int128 fixed its implementation and respects now the KUBECACHEDIR env var.
Would it be possible to respect the KUBECACHEDIR environment variable in azure kubelogin ?
If a use case helps justify the need: I am using environment module to load different configuration for az cli and kubectl, as we are using different az identities for multiple clusters.
With KUBECACHEDIR not being supported, I can only use one az identity at a time for kubectl, as
~/.kube/cache
is shared, whereas az and kubectl config are separated.Thank you
JP
The text was updated successfully, but these errors were encountered: