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
I am trying to specify a kubeconfig file in spec.credentials to connect to my remote GKE cluster using either a Filesystem or Environment as my spec.credentials.source. When I set the source to Filesystem and provide the correct path to my kubeconfig file (tested and verified working fine with helm cmd) the release does failes to install with error message: failed to extract kubeconfig: open kubeconfig-new: permission denied. Same issue even when giving the kubeconfig file with 777 permissions.
I tried to get around then by using a source of Environment with environment variable containing the kubeconfig and received a different error cannot create new rest config using provider secret: currentContext not set in kubeconfig even though verified that current-context field is set in the kubeconfig.
How can we reproduce it?
Apply this file to crossplane with a verified working kubeconfig file in the same directory:
ghost
changed the title
Problems with use spec.credentials.source using Filesystem or Environment types
Problems with use spec.credentials.source with Filesystem or Environment types
Oct 18, 2022
What happened?
I am trying to specify a kubeconfig file in spec.credentials to connect to my remote GKE cluster using either a Filesystem or Environment as my spec.credentials.source. When I set the source to Filesystem and provide the correct path to my kubeconfig file (tested and verified working fine with helm cmd) the release does failes to install with error message:
failed to extract kubeconfig: open kubeconfig-new: permission denied
. Same issue even when giving the kubeconfig file with 777 permissions.I tried to get around then by using a source of Environment with environment variable containing the kubeconfig and received a different error
cannot create new rest config using provider secret: currentContext not set in kubeconfig
even though verified that current-context field is set in the kubeconfig.How can we reproduce it?
Apply this file to crossplane with a verified working kubeconfig file in the same directory:
What environment did it happen in?
kubectl version
): v1.25.2uname -a
): Linux 5.10.16.3-microsoft-standard-WSL2 Post Rendering Patches #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: