init: copied modules from lawndale-infra
This commit is contained in:
52
kubernetes/flannel/variables.tf
Normal file
52
kubernetes/flannel/variables.tf
Normal file
@@ -0,0 +1,52 @@
|
||||
variable "namespace" {
|
||||
type = string
|
||||
description = "namespace for resources"
|
||||
default = "kube-system"
|
||||
}
|
||||
|
||||
variable "vxlan_id" {
|
||||
type = number
|
||||
description = "VXLAN ID (VNI)"
|
||||
}
|
||||
|
||||
variable "vxlan_port" {
|
||||
type = number
|
||||
description = "UDP port to use for sending encapsulated packets"
|
||||
}
|
||||
|
||||
variable "flannel_image" {
|
||||
type = string
|
||||
default = "rancher/mirrored-flannelcni-flannel:v0.17.0"
|
||||
}
|
||||
|
||||
variable "flannel_cni_plugin_image" {
|
||||
type = string
|
||||
default = "rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.1"
|
||||
}
|
||||
|
||||
variable "cluster_role_name" {
|
||||
type = string
|
||||
description = "Name of the cluster role flannel will use"
|
||||
default = "flannel"
|
||||
}
|
||||
variable "create_cluster_role" {
|
||||
type = bool
|
||||
description = "Weather or not to create a suitable cluster role or use an already exisiting specified by cluster_role_name variable"
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "daemonset_name" {
|
||||
type = string
|
||||
description = "Name of the daeomonset"
|
||||
default = "flannel"
|
||||
}
|
||||
variable "node_selector_os" {
|
||||
type = list(string)
|
||||
description = "Which kubernetes.io/os node-label to match for execution"
|
||||
default = ["linux"]
|
||||
}
|
||||
|
||||
variable "cluster_cidr" {
|
||||
type = string
|
||||
description = "ClusterCIDR"
|
||||
}
|
||||
Reference in New Issue
Block a user