Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. apiVersion: v1
  2. clusters:
  3. - cluster:
  4. server: <EKS_SERVER_URL>
  5. certificate-authority-data: <CLUSTER_CERTIFICATE_AUTHORITY_DATA>
  6. name: my-cluster
  7. contexts:
  8. - context:
  9. cluster: my-cluster
  10. user: my-user
  11. name: my-context
  12. current-context: my-context
  13. kind: Config
  14. preferences: {}
  15. users:
  16. - name: my-user
  17. user:
  18. exec:
  19. apiVersion: client.authentication.k8s.io/v1alpha1
  20. command: aws-iam-authenticator
  21. args:
  22. - "token"
  23. - "-i"
  24. - "<CLUSTER_NAME>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement