Skip to content

Commit 6f7479a

Browse files
committed
fix: Use API version client.authentication.k8s.io/v1beta1
Generated kubeconfig files now use API version v1beta1 for acquiring credentials via aws-iam-authenticator. This allows communication with clusters running newer versions of Kubernetes which no longer support v1alpha1 (while at the same time eliminating support for clusters running very old versions).
1 parent a31cc8c commit 6f7479a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/kube/kubeconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ users:
3333
- name: {{ .Name }}
3434
user:
3535
exec:
36-
apiVersion: client.authentication.k8s.io/v1alpha1
36+
apiVersion: client.authentication.k8s.io/v1beta1
3737
args:
3838
- token
3939
- --region

0 commit comments

Comments
 (0)