Requirements
The following requirements are needed by this module:
- kubernetes (~> 2.11)
Providers
The following providers are used by this module:
- kubernetes (~> 2.11)
Modules
No modules.
Resources
The following resources are used by this module:
- kubernetes_cluster_role.this (resource)
- kubernetes_cluster_role_binding.this (resource)
- kubernetes_config_map.this (resource)
- kubernetes_daemonset.this (resource)
- kubernetes_pod_security_policy.this (resource)
- kubernetes_service_account.this (resource)
Required Inputs
The following input variables are required:
cluster_cidr
Description: ClusterCIDR
Type: string
vxlan_id
Description: VXLAN ID (VNI)
Type: number
vxlan_port
Description: UDP port to use for sending encapsulated packets
Type: number
Optional Inputs
The following input variables are optional (have default values):
cluster_role_name
Description: Name of the cluster role flannel will use
Type: string
Default: "flannel"
create_cluster_role
Description: Weather or not to create a suitable cluster role or use an already exisiting specified by cluster_role_name variable
Type: bool
Default: true
daemonset_name
Description: Name of the daeomonset
Type: string
Default: "flannel"
flannel_cni_plugin_image
Description: n/a
Type: string
Default: "rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.1"
flannel_image
Description: n/a
Type: string
Default: "rancher/mirrored-flannelcni-flannel:v0.17.0"
namespace
Description: namespace for resources
Type: string
Default: "kube-system"
node_selector_os
Description: Which kubernetes.io/os node-label to match for execution
Type: list(string)
Default:
[
"linux"
]
Outputs
The following outputs are exported:
cluster_role
Description: n/a
cluster_role_binding
Description: n/a
configmap
Description: n/a
daemonset
Description: n/a
pod_security_policy
Description: n/a
service_account
Description: n/a