terraform-provider-stackit
terraform-provider-stackit copied to clipboard
SKE cluster outdated error message
trafficstars
When creating a SKE cluster with terraform, I get the following warning:
╷
│ Warning: The kubelogin field is set to null
│
│ with stackit_ske_cluster.example,
│ on main.tf line 15, in resource "stackit_ske_cluster" "example":
│ 15: resource "stackit_ske_cluster" "example" {
│
│ Failed to get static token kubeconfig, which means the new credentials rotation flow might already been triggered for this cluster. If you are already using the stackit_ske_kubeconfig resource you can ignore this warning. If not, you must use it to access this cluster's short-lived admin kubeconfig.
╵
The static token kubeconfig was only supported until Kubernetes v1.26 which is not available anymore, so this warning is not relevant anymore and should be removed.