Skip to content

Commit

Permalink
Rebased onto origin master
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcollinge committed Mar 8, 2018
1 parent 2ff95a5 commit 6dce948
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 67 deletions.
31 changes: 0 additions & 31 deletions examples/aks/main.tf

This file was deleted.

23 changes: 0 additions & 23 deletions examples/aks/outputs.tf

This file was deleted.

10 changes: 0 additions & 10 deletions examples/aks/variables.tf

This file was deleted.

24 changes: 24 additions & 0 deletions examples/kubernetes-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,27 @@
output "id" {
value = "${azurerm_kubernetes_cluster.aks_container.id}"
}

output "client_key" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.client_key}"
}

output "client_certificate" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.client_certificate}"
}

output "cluster_ca_certificate" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.cluster_ca_certificate}"
}

output "host" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.host}"
}

output "username" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.username}"
}

output "password" {
value = "${azurerm_kubernetes_cluster.aks_container.kube_config.0.password}"
}
6 changes: 3 additions & 3 deletions website/docs/r/kubernetes_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ The following attributes are exported:

* `fqdn` - The FQDN of the Azure Kubernetes Managed Cluster.

* `kube_config.0.client_key` - The client key used to authenticate to the Kubernetes cluster
* `kube_config.0.client_key` - Base64 encoded client key used to authenticate to the Kubernetes cluster

* `kube_config.0.client_certificate` - The client certificate used to authenticate to the Kubernetes cluster
* `kube_config.0.client_certificate` - Base64 encoded client certificate used to authenticate to the Kubernetes cluster

* `kube_config.0.cluster_ca_certificate` - The cluster CA certificate used to authenticate to the Kubernetes cluster
* `kube_config.0.cluster_ca_certificate` - Base64 encoded cluster CA certificate used to authenticate to the Kubernetes cluster

* `kube_config.0.host` - The Kubernetes cluster server host

Expand Down

0 comments on commit 6dce948

Please sign in to comment.