lucasdk3 opened a new issue, #276:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/276
I using the terraform to create cks, but the access not return to created
kube_config to use in kubernetes and helm providers.
example:
hcl```
resource "cloudstack_kubernetes_cluster" "basic" {
name = "basic-cluster"
zone = "zone1"
kubernetes_version = "1.25.0"
service_offering = "Medium Instance"
size = 3
description = "Basic Kubernetes cluster"
}
data "cloudstack_kubernetes_cluster_config" "basic" {
cluster_id = cloudstack_kubernetes_cluster.basic.id
}
provider "kubernetes" {
host =
cloudstack_kubernetes_cluster_config.basic.endpoint
cluster_ca_certificate =
cloudstack_kubernetes_cluster_config.basic.basic.cluster_ca_certificate
client_certificate =
cloudstack_kubernetes_cluster_config.basic.client_certificate
client_key =
cloudstack_kubernetes_cluster_config.basic.client_key
}
```
the api has this endpoint and console too
endpoint = getKubernetesClusterConfig
doc =
https://cloudstack.apache.org/api/apidocs-4.22/apis/getKubernetesClusterConfig.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]