Skip to content

Commit

Permalink
Update dependencies, update default node types
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim authored Jun 26, 2024
1 parent f7da910 commit e1697ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ As Hetzner doesn't have a managed Kubernetes service, this module sets up a clus

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 |
| <a name="requirement_hcloud"></a> [hcloud](#requirement\_hcloud) | ~> 1.31.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.8.0 |
| <a name="requirement_hcloud"></a> [hcloud](#requirement\_hcloud) | ~> 1.47.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_hcloud"></a> [hcloud](#provider\_hcloud) | ~> 1.31.0 |
| <a name="provider_hcloud"></a> [hcloud](#provider\_hcloud) | ~> 1.47.0 |

## Modules

Expand All @@ -35,6 +35,7 @@ No modules.
| [hcloud_placement_group.control_plane](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/placement_group) | resource |
| [hcloud_server.control_plane](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/server) | resource |
| [hcloud_server_network.control_plane](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/resources/server_network) | resource |
| [hcloud_ssh_keys.admin_keys](https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs/data-sources/ssh_keys) | data source |

## Inputs

Expand All @@ -45,7 +46,7 @@ No modules.
| <a name="input_control_plane_datacenters"></a> [control\_plane\_datacenters](#input\_control\_plane\_datacenters) | n/a | `list(string)` | <pre>[<br> "fsn1",<br> "nbg1",<br> "hel1"<br>]</pre> | no |
| <a name="input_control_plane_replicas"></a> [control\_plane\_replicas](#input\_control\_plane\_replicas) | n/a | `number` | `3` | no |
| <a name="input_control_plane_source_ips"></a> [control\_plane\_source\_ips](#input\_control\_plane\_source\_ips) | List of IPs that are allowed to connect to the control instances | `list(string)` | n/a | yes |
| <a name="input_control_plane_type"></a> [control\_plane\_type](#input\_control\_plane\_type) | n/a | `string` | `"cx21"` | no |
| <a name="input_control_plane_type"></a> [control\_plane\_type](#input\_control\_plane\_type) | n/a | `string` | `"cx22"` | no |
| <a name="input_datacenter"></a> [datacenter](#input\_datacenter) | n/a | `string` | `"nbg1"` | no |
| <a name="input_disable_kubeapi_loadbalancer"></a> [disable\_kubeapi\_loadbalancer](#input\_disable\_kubeapi\_loadbalancer) | E2E tests specific variable to disable usage of any loadbalancer in front of kubeapi-server | `bool` | `false` | no |
| <a name="input_image"></a> [image](#input\_image) | n/a | `string` | `"ubuntu-20.04"` | no |
Expand All @@ -55,11 +56,12 @@ No modules.
| <a name="input_lb_type"></a> [lb\_type](#input\_lb\_type) | n/a | `string` | `"lb11"` | no |
| <a name="input_network_zone"></a> [network\_zone](#input\_network\_zone) | network zone to use for private network | `string` | `"eu-central"` | no |
| <a name="input_ssh_agent_socket"></a> [ssh\_agent\_socket](#input\_ssh\_agent\_socket) | SSH Agent socket, default to grab from $SSH\_AUTH\_SOCK | `string` | `"env:SSH_AUTH_SOCK"` | no |
| <a name="input_ssh_keys"></a> [ssh\_keys](#input\_ssh\_keys) | List of SSH keys that will have access to the server. | `list(string)` | n/a | yes |
| <a name="input_ssh_key_selector"></a> [ssh\_key\_selector](#input\_ssh\_key\_selector) | Selector to use when automatically pulling existing SSH keys. | `string` | `"role=admin"` | no |
| <a name="input_ssh_keys"></a> [ssh\_keys](#input\_ssh\_keys) | List of SSH keys that will have access to the server. If none are given, existing SSH keys in Hetzner will be used. | `list(string)` | `[]` | no |
| <a name="input_ssh_port"></a> [ssh\_port](#input\_ssh\_port) | SSH port to be used to provision instances | `number` | `22` | no |
| <a name="input_ssh_username"></a> [ssh\_username](#input\_ssh\_username) | SSH user, used only in output | `string` | `"root"` | no |
| <a name="input_worker_os"></a> [worker\_os](#input\_worker\_os) | OS to run on worker machines | `string` | `"ubuntu"` | no |
| <a name="input_worker_type"></a> [worker\_type](#input\_worker\_type) | n/a | `string` | `"cx21"` | no |
| <a name="input_worker_type"></a> [worker\_type](#input\_worker\_type) | n/a | `string` | `"cx22"` | no |

## Outputs

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ variable "disable_kubeapi_loadbalancer" {
# Provider specific settings

variable "control_plane_type" {
default = "cx21"
default = "cx22"
type = string
}

Expand All @@ -95,7 +95,7 @@ variable "control_plane_datacenters" {
}

variable "worker_type" {
default = "cx21"
default = "cx22"
type = string
}

Expand Down
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.0.0"
required_version = ">= 1.8.0"

required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.31.0"
version = "~> 1.47.0"
}
}
}

0 comments on commit e1697ec

Please sign in to comment.