2019-01-12 19:09:08 +00:00
|
|
|
// Based on https://github.com/v1k0d3n/dockerfiles/tree/master/bootkube
|
|
|
|
|
|
|
|
variable "k8s_host" {
|
|
|
|
description = "kubenetes hostname"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "host_port" {
|
|
|
|
default = "8443"
|
|
|
|
}
|
|
|
|
|
2019-01-12 22:31:14 +00:00
|
|
|
variable "network_provider" {
|
|
|
|
default = "flannel"
|
|
|
|
}
|
|
|
|
|
2019-01-12 19:09:08 +00:00
|
|
|
variable "host_ip" {}
|
|
|
|
|
|
|
|
variable "pod_cidr" {
|
|
|
|
default = "10.25.0.0/16"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "service_cidr" {
|
|
|
|
default = "10.96.0.0/16"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "mode" {}
|
|
|
|
|
|
|
|
variable "version" {
|
|
|
|
default = "0.14.0"
|
|
|
|
}
|
2019-01-12 20:10:20 +00:00
|
|
|
|
|
|
|
variable "depends_on" {
|
|
|
|
default = []
|
|
|
|
|
|
|
|
type = "list"
|
|
|
|
}
|
2019-01-26 22:32:59 +00:00
|
|
|
|
|
|
|
variable "assets" {
|
|
|
|
type = "map"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "asset-dir" {}
|