diff --git a/modules/kubernetes/README.md b/modules/kubernetes/README.md index 23abc58..399355c 100644 --- a/modules/kubernetes/README.md +++ b/modules/kubernetes/README.md @@ -27,6 +27,7 @@ No modules. | [helm_release.cluster_autoscaler](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource | | [helm_release.hcloud_ccm](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource | | [helm_release.hcloud_csi](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource | +| [helm_release.kured](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | resource | | [kubernetes_annotations.hcloud_ccm](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/annotations) | resource | | [kubernetes_namespace.cluster_autoscaler](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) | resource | | [kubernetes_secret_v1.cluster_autoscaler](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret_v1) | resource | @@ -44,6 +45,7 @@ No modules. | [k3s\_cluster\_cidr](#input\_k3s\_cluster\_cidr) | CIDR used for the k3s cluster | `string` | `"10.244.0.0/16"` | no | | [kube\_context](#input\_kube\_context) | Kubernetes context to use | `string` | `"default"` | no | | [kubeconfig](#input\_kubeconfig) | Kubeconfig for the cluster | `string` | n/a | yes | +| [kured\_version](#input\_kured\_version) | Version of Kured to use - defaults to latest | `string` | `null` | no | | [worker\_pools](#input\_worker\_pools) | Cluster autoscaler configuration |
list(object({| `[]` | no | ## Outputs diff --git a/modules/kubernetes/kured.tf b/modules/kubernetes/kured.tf new file mode 100644 index 0000000..8c4890b --- /dev/null +++ b/modules/kubernetes/kured.tf @@ -0,0 +1,47 @@ +# Copyright 2024 Simon Emms
cloud_init = string
firewall_id = string
image = string
labels = list(object({
key = string
value = string
}))
network_id = string
pool = object({
instanceType = string
minSize = number
maxSize = number
name = string
region = string
})
ssh_key_id = string
taints = list(object({
key = string
value = string
effect = string
}))
}))