diff --git a/pve01.wheatley.in/k8s-wheatley/README.md b/pve01.wheatley.in/k8s-wheatley/README.md new file mode 100644 index 0000000..b7e5c81 --- /dev/null +++ b/pve01.wheatley.in/k8s-wheatley/README.md @@ -0,0 +1,36 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [proxmox](#requirement\_proxmox) | 0.85.1 | +| [talos](#requirement\_talos) | 0.9.0 | + +## Providers + +No providers. + +## Modules + +| Name | Source | Version | +|------|--------|---------| +| [controlplanes](#module\_controlplanes) | ./modules/talos-node | n/a | +| [talos-bootstrap](#module\_talos-bootstrap) | ./modules/talos-bootstrap | n/a | +| [talos-image](#module\_talos-image) | ./modules/talos-image | n/a | +| [workers](#module\_workers) | ./modules/talos-node | n/a | + +## Resources + +No resources. + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [proxmox\_api\_token](#input\_proxmox\_api\_token) | Proxmox API token | `string` | n/a | yes | +| [proxmox\_endpoint](#input\_proxmox\_endpoint) | Proxmox API endpoint | `string` | n/a | yes | + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/pve01.wheatley.in/k8s-wheatley/modules/talos-bootstrap/README.md b/pve01.wheatley.in/k8s-wheatley/modules/talos-bootstrap/README.md new file mode 100644 index 0000000..66c3475 --- /dev/null +++ b/pve01.wheatley.in/k8s-wheatley/modules/talos-bootstrap/README.md @@ -0,0 +1,40 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [talos](#requirement\_talos) | 0.9.0 | + +## Providers + +| Name | Version | +|------|---------| +| [talos](#provider\_talos) | 0.9.0 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [talos_machine_bootstrap.talos_machine_bootstrap](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_bootstrap) | resource | +| [talos_machine_configuration_apply.config_apply_cp](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_configuration_apply.config_apply_worker](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply) | resource | +| [talos_machine_secrets.machine_secrets](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_secrets) | resource | +| [talos_client_configuration.talosconfig](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/client_configuration) | data source | +| [talos_machine_configuration.machineconfig-cp](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_configuration) | data source | +| [talos_machine_configuration.machineconfig-worker](https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_configuration) | data source | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [node\_config](#input\_node\_config) | Talos node configuration |
object({
ipv4_gateway = string
talos_version = string
gateway_api_version = string
cilium_version = string
cluster_name = string
kubernetes_version = string
cluster_endpoint = string
proxmox_node = string
controlplane_addresses = list(string)
worker_addresses = list(string)
})
| n/a | yes | +| [talos\_nodes](#input\_talos\_nodes) | List of Talos nodes to bootstrap |
list(object({
name = string
type = string
ipv4_address = string
}))
| n/a | yes | + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/pve01.wheatley.in/k8s-wheatley/modules/talos-image/README.md b/pve01.wheatley.in/k8s-wheatley/modules/talos-image/README.md new file mode 100644 index 0000000..ee536dc --- /dev/null +++ b/pve01.wheatley.in/k8s-wheatley/modules/talos-image/README.md @@ -0,0 +1,35 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [proxmox](#requirement\_proxmox) | 0.85.1 | + +## Providers + +| Name | Version | +|------|---------| +| [http](#provider\_http) | n/a | +| [proxmox](#provider\_proxmox) | 0.85.1 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [proxmox_virtual_environment_download_file.talos-image](https://registry.terraform.io/providers/bpg/proxmox/0.85.1/docs/resources/virtual_environment_download_file) | resource | +| [http_http.schematic](https://registry.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http) | data source | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [talos\_version](#input\_talos\_version) | Talos version to download | `string` | n/a | yes | + +## Outputs + +No outputs. + \ No newline at end of file diff --git a/pve01.wheatley.in/k8s-wheatley/modules/talos-node/README.md b/pve01.wheatley.in/k8s-wheatley/modules/talos-node/README.md new file mode 100644 index 0000000..fb46ad2 --- /dev/null +++ b/pve01.wheatley.in/k8s-wheatley/modules/talos-node/README.md @@ -0,0 +1,33 @@ + +## Requirements + +| Name | Version | +|------|---------| +| [proxmox](#requirement\_proxmox) | 0.85.1 | + +## Providers + +| Name | Version | +|------|---------| +| [proxmox](#provider\_proxmox) | 0.85.1 | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [proxmox_virtual_environment_vm.talos-node](https://registry.terraform.io/providers/bpg/proxmox/0.85.1/docs/resources/virtual_environment_vm) | resource | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [node](#input\_node) | Virtual node configuration |
object({
id = number
name = string
ipv4_address = string
ipv4_gateway = string
cpu = number
memory = number
disk = string
storagepool = string
talos_version = string
cluster_name = string
kubernetes_version = string
cluster_endpoint = string
proxmox_node = string
controlplane_addresses = list(string)
worker_addresses = list(string)
})
| n/a | yes | + +## Outputs + +No outputs. + \ No newline at end of file