File tree Expand file tree Collapse file tree 10 files changed +32
-2
lines changed Expand file tree Collapse file tree 10 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,10 @@ module "cluster_services" {
11
11
cluster_name = " ${ aws_eks_cluster . current . name } "
12
12
cluster_endpoint = " ${ aws_eks_cluster . current . endpoint } "
13
13
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 } "
14
19
}
15
20
}
Original file line number Diff line number Diff line change @@ -15,5 +15,10 @@ module "cluster_services" {
15
15
client_cert = " ${ azurerm_kubernetes_cluster . current . kube_config . 0 . client_certificate } "
16
16
client_key = " ${ azurerm_kubernetes_cluster . current . kube_config . 0 . client_key } "
17
17
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 } "
18
23
}
19
24
}
Original file line number Diff line number Diff line change @@ -12,5 +12,10 @@ module "cluster_services" {
12
12
cluster_endpoint = " ${ google_container_cluster . current . endpoint } "
13
13
cluster_ca = " ${ google_container_cluster . current . master_auth . 0 . cluster_ca_certificate } "
14
14
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 } "
15
20
}
16
21
}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ clusters = {
14
14
# e.g. kbst-ops-eu-west-1.aws.infra.example.com
15
15
base_domain = " "
16
16
17
- # The Azure location to deploy the clusters in
18
- location = " "
17
+ # The Azure resource group to use
18
+ resource_group = " "
19
19
}
20
20
21
21
# Settings for Ops-cluster
Original file line number Diff line number Diff line change
1
+ # AKS apps overlay
2
+
3
+ Overlay for configuration specific to only apps AKS clusters.
Original file line number Diff line number Diff line change
1
+ bases :
2
+ - ../both # inherit configuration specifc to AKS
Original file line number Diff line number Diff line change
1
+ # AKS overlay
2
+
3
+ Overlay for configuration shared across all AKS clusters.
Original file line number Diff line number Diff line change
1
+ bases :
2
+ - ../../common # inherit configuration shared between all clouds
Original file line number Diff line number Diff line change
1
+ # AKS ops overlay
2
+
3
+ Overlay for configuration specific to only ops AKS clusters.
Original file line number Diff line number Diff line change
1
+ bases :
2
+ - ../both # inherit configuration specifc to AKS
You can’t perform that action at this time.
0 commit comments