Skip to content

Commit

Permalink
added suffix for customizing kubeconfig for each cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
lzecca78 authored and angelbarrera92 committed Feb 12, 2021
1 parent be3a0e0 commit 05ed169
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions data/provisioners/cluster/eks/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ clusters:
- cluster:
server: ${module.fury.cluster_endpoint}
certificate-authority-data: ${module.fury.cluster_certificate_authority}
name: kubernetes
name: kubernetes-${var.cluster_name}
contexts:
- context:
cluster: kubernetes
user: aws
name: aws
current-context: aws
cluster: kubernetes-${var.cluster_name}
user: aws-${var.cluster_name}
name: aws-${var.cluster_name}
current-context: aws-${var.cluster_name}
kind: Config
preferences: {}
users:
- name: aws
- name: aws-${var.cluster_name}
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
Expand Down

0 comments on commit 05ed169

Please sign in to comment.