Forum Discussion
reardonm
2 years agoNew Contributor
Trouble with AWS plugin and Kubernetes with EKS
 Greetings. I'm seeing a problem with the 1Password AWS shell plugin and EKS when using kubeconfig. 
 I have an  ~/.aws/config  files that looks something like this:  
   
[profile nonprod]  
aws_acc...
reardonm
2 years agoNew Contributor
One follow-up... 
It occurred to me to manually change the command defined ~/.kube/config to use op.  That seems to work around the problem
- name: arn:aws:eks:us-east-1:99999999999:cluster/EKS-Non-Prod
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - plugin
      - run
      - --
      - aws
      - --region
      - us-east-1
      - eks
      - get-token
      - --cluster-name
      - EKS-Non-Prod
      - --output
      - json
      command: op
      env:
      - name: AWS_PROFILE
        value: nonprod