Skip to content

Commit

Permalink
Merge pull request #36 from Azure/revert-24-master
Browse files Browse the repository at this point in the history
Revert "added kubeconfig output"
  • Loading branch information
malantin authored Jan 20, 2020
2 parents 81df4af + ad21ff3 commit d365197
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 25 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module "aks" {
CLIENT_ID = "your-service-principal-client-appid"
CLIENT_SECRET = "your-service-principal-client-password"
prefix = "your-custom-resource-prefix"
kubeconfig_path = "/home/user/.kube/mycluster.yaml"
}
```

Expand Down Expand Up @@ -73,10 +72,6 @@ variable "public_ssh_key" {
description = "A custom ssh key to control access to the AKS cluster"
default = ""
}
variable "kubeconfig_path" {
description = "full path to save the kubeconfig in (e.g. /root/.kube/mycluster.yaml). make sure to add this file to KUBECONFIG (e.g. export KUBECONFIG=$KUBECONFIG:/root/.kube/mycluster.yaml) in order to add it to your list of clusters"
}
```

The module supports some outputs that may be used to configure a kubernetes
Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module "kubernetes" {
service_principal_client_id = var.CLIENT_ID
service_principal_client_secret = var.CLIENT_SECRET
log_analytics_workspace_id = module.log_analytics_workspace.id
kubeconfig_path = var.kubeconfig_path
}

module "log_analytics_workspace" {
Expand Down
12 changes: 0 additions & 12 deletions modules/kubernetes-cluster/kubeconfig.tf

This file was deleted.

1 change: 0 additions & 1 deletion modules/kubernetes-cluster/templates/kubeconfig.tpl

This file was deleted.

3 changes: 0 additions & 3 deletions modules/kubernetes-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@ variable "service_principal_client_secret" {
description = "The Client Secret of the Service Principal assigned to Kubernetes"
}

variable "kubeconfig_path" {
description = "full path to save the kubeconfig in (e.g. /root/.kube/mycluster.yaml). make sure to add this file to KUBECONFIG (e.g. export KUBECONFIG=$KUBECONFIG:/root/.kube/mycluster.yaml) in order to add it to your list of clusters"
}
3 changes: 0 additions & 3 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,3 @@ variable "public_ssh_key" {
default = ""
}

variable "kubeconfig_path" {
description = "full path to save the kubeconfig in (e.g. /root/.kube/mycluster.yaml). make sure to add this file to KUBECONFIG (e.g. export KUBECONFIG=$KUBECONFIG:/root/.kube/mycluster.yaml) in order to add it to your list of clusters"
}

0 comments on commit d365197

Please sign in to comment.