## Requirements
The following requirements are needed by this module:
- [kubernetes](#requirement\_kubernetes) (~> 2.11)
## Providers
The following providers are used by this module:
- [kubernetes](#provider\_kubernetes) (~> 2.11)
## Modules
No modules.
## Resources
The following resources are used by this module:
- [kubernetes_cluster_role.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/cluster_role) (resource)
- [kubernetes_cluster_role_binding.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/cluster_role_binding) (resource)
- [kubernetes_config_map.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map) (resource)
- [kubernetes_daemonset.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/daemonset) (resource)
- [kubernetes_pod_security_policy.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/pod_security_policy) (resource)
- [kubernetes_service_account.this](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service_account) (resource)
## Required Inputs
The following input variables are required:
### [cluster\_cidr](#input\_cluster\_cidr)
Description: ClusterCIDR
Type: `string`
### [vxlan\_id](#input\_vxlan\_id)
Description: VXLAN ID (VNI)
Type: `number`
### [vxlan\_port](#input\_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](#input\_cluster\_role\_name)
Description: Name of the cluster role flannel will use
Type: `string`
Default: `"flannel"`
### [create\_cluster\_role](#input\_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](#input\_daemonset\_name)
Description: Name of the daeomonset
Type: `string`
Default: `"flannel"`
### [flannel\_cni\_plugin\_image](#input\_flannel\_cni\_plugin\_image)
Description: n/a
Type: `string`
Default: `"rancher/mirrored-flannelcni-flannel-cni-plugin:v1.0.1"`
### [flannel\_image](#input\_flannel\_image)
Description: n/a
Type: `string`
Default: `"rancher/mirrored-flannelcni-flannel:v0.17.0"`
### [namespace](#input\_namespace)
Description: namespace for resources
Type: `string`
Default: `"kube-system"`
### [node\_selector\_os](#input\_node\_selector\_os)
Description: Which kubernetes.io/os node-label to match for execution
Type: `list(string)`
Default:
```json
[
"linux"
]
```
## Outputs
The following outputs are exported:
### [cluster\_role](#output\_cluster\_role)
Description: n/a
### [cluster\_role\_binding](#output\_cluster\_role\_binding)
Description: n/a
### [configmap](#output\_configmap)
Description: n/a
### [daemonset](#output\_daemonset)
Description: n/a
### [pod\_security\_policy](#output\_pod\_security\_policy)
Description: n/a
### [service\_account](#output\_service\_account)
Description: n/a