Skip to content

Commit 5fddf71

Browse files
authored
Merge pull request #42 from kbst/fixtests
Testing and fixing for 0.2.0 release
2 parents bdd1c0c + 7038303 commit 5fddf71

File tree

10 files changed

+32
-2
lines changed

10 files changed

+32
-2
lines changed

aws/_modules/eks/cluster_services.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ module "cluster_services" {
1111
cluster_name = "${aws_eks_cluster.current.name}"
1212
cluster_endpoint = "${aws_eks_cluster.current.endpoint}"
1313
cluster_ca = "${aws_eks_cluster.current.certificate_authority.0.data}"
14+
15+
# hack, because modules can't have depends_on
16+
# prevent a race between kubernetes provider and cluster services/kustomize
17+
# creating the namespace and the provider erroring out during apply
18+
not_used = "${kubernetes_namespace.current.metadata.0.name}"
1419
}
1520
}

azurerm/_modules/aks/cluster_services.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,10 @@ module "cluster_services" {
1515
client_cert = "${azurerm_kubernetes_cluster.current.kube_config.0.client_certificate}"
1616
client_key = "${azurerm_kubernetes_cluster.current.kube_config.0.client_key}"
1717
path_cwd = "${path.cwd}"
18+
19+
# hack, because modules can't have depends_on
20+
# prevent a race between kubernetes provider and cluster services/kustomize
21+
# creating the namespace and the provider erroring out during apply
22+
not_used = "${kubernetes_namespace.current.metadata.0.name}"
1823
}
1924
}

google/_modules/gke/cluster_services.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ module "cluster_services" {
1212
cluster_endpoint = "${google_container_cluster.current.endpoint}"
1313
cluster_ca = "${google_container_cluster.current.master_auth.0.cluster_ca_certificate}"
1414
path_cwd = "${path.cwd}"
15+
16+
# hack, because modules can't have depends_on
17+
# prevent a race between kubernetes provider and cluster services/kustomize
18+
# creating the namespace and the provider erroring out during apply
19+
not_used = "${kubernetes_namespace.current.metadata.0.name}"
1520
}
1621
}

quickstart/src/configurations/aks/config.auto.tfvars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ clusters = {
1414
# e.g. kbst-ops-eu-west-1.aws.infra.example.com
1515
base_domain = ""
1616

17-
# The Azure location to deploy the clusters in
18-
location = ""
17+
# The Azure resource group to use
18+
resource_group = ""
1919
}
2020

2121
# Settings for Ops-cluster
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# AKS apps overlay
2+
3+
Overlay for configuration specific to only apps AKS clusters.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bases:
2+
- ../both # inherit configuration specifc to AKS
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# AKS overlay
2+
3+
Overlay for configuration shared across all AKS clusters.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bases:
2+
- ../../common # inherit configuration shared between all clouds
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# AKS ops overlay
2+
3+
Overlay for configuration specific to only ops AKS clusters.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bases:
2+
- ../both # inherit configuration specifc to AKS

0 commit comments

Comments
 (0)