-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
40 lines (34 loc) · 1.08 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
output "metakube_cluster_id" {
value = metakube_cluster.this.id
description = "The ID of the metakube cluster"
}
output "kube_config" {
value = metakube_cluster.this.kube_config
description = "The kubeconfig for the metakube cluster (admin config)."
sensitive = true
}
output "kube_config_ca_certificate" {
value = local.cluster_ca_certificate
description = "The Kubernetes cluster CA data"
sensitive = true
}
output "kube_config_host" {
value = local.cluster_host
description = "The Kubernetes cluster server address"
sensitive = true
}
output "kube_config_username" {
value = local.cluster_username
description = "The Kubernetes cluster user name"
sensitive = true
}
output "kube_config_token" {
value = local.cluster_token
description = "The Kubernetes cluster user token"
sensitive = true
}
output "argo_daemon_service_account_token" {
description = "The ArgoCD daemon service account token"
sensitive = true
value = var.argocd_daemon_enabled ? data.kubernetes_secret_v1.argod[0].data["token"] : ""
}