2017-07-25 08:16:34 +02:00
|
|
|
# Self-hosted Kubernetes assets (kubeconfig, manifests)
|
|
|
|
module "bootkube" {
|
2017-09-23 23:04:18 +02:00
|
|
|
source = "git::https://github.com/poseidon/bootkube-terraform.git?ref=v0.6.2"
|
2017-07-25 08:16:34 +02:00
|
|
|
|
|
|
|
cluster_name = "${var.cluster_name}"
|
|
|
|
api_servers = ["${var.k8s_domain_name}"]
|
|
|
|
etcd_servers = ["${var.controller_domains}"]
|
|
|
|
asset_dir = "${var.asset_dir}"
|
2017-09-01 23:23:25 +02:00
|
|
|
networking = "${var.networking}"
|
2017-09-06 03:24:57 +02:00
|
|
|
network_mtu = "${var.network_mtu}"
|
2017-07-25 08:16:34 +02:00
|
|
|
pod_cidr = "${var.pod_cidr}"
|
|
|
|
service_cidr = "${var.service_cidr}"
|
|
|
|
experimental_self_hosted_etcd = "${var.experimental_self_hosted_etcd}"
|
|
|
|
}
|