Closed
Description
When I try to load EKS modified configuration file with the below code, Yaml parser exception throwed.
Source code
var config = KubernetesClientConfiguration.BuildConfigFromConfigFile(
kubeconfigPath: @"\\wsl$\Ubuntu-18.04\home\rkttu\.kube\config");
YAML file
...
users:
- name: arn:aws:eks:ap-northeast-1:...:cluster/eagle
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
args:
- --region
- ap-northeast-1
- eks
- get-token
- --cluster-name
- eagle
command: aws
env:
- name: AWS_PROFILE
value: example
Metadata
Metadata
Assignees
Labels
No labels