command
module
Version:
v0.0.0-...-13f2bdd
Opens a new window with list of versions in this module.
Published: Nov 3, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
AWS EKS kubectl credential cache
Install
go install github.com/chlunde/eks-iam-cache@main
sed -i 's/command: aws/command: eks-iam-cache/' ~/.kube/config
or edit $KUBECONFIG
:
apiVersion: v1
kind: Config
users:
- name: arn:aws:eks:eu-north-1:...:cluster/foo
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
command: aws
args:
- --region
- eu-north-1
- eks
- get-token
- --cluster-name
- ...
env:
- name: AWS_PROFILE
value: ...
replace aws
in command:
with eks-iam-cache
:
command: eks-iam-cache
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.