Skip to content

Commit

Permalink
Merge pull request #975 from jidckii/Change-default-DNS-9.9.9.9-to-9.…
Browse files Browse the repository at this point in the history
…9.9.10

Change default DNS servers
  • Loading branch information
mysticaltech authored Sep 12, 2023
2 parents 6c4bec0 + 3919312 commit 49d0799
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ Code contributions are very much **welcome**.
packer build ../kube-hetzner/packer-template/hcloud-microos-snapshots.pkr.hcl
```
1. Update examples in `kube.tf.example` if required.
1. Commit your Changes (`git commit -m 'Add some AmazingFeature')
1. Push to the Branch (`git push origin AmazingFeature`)
1. Open a Pull Request targeting the `staging` branch.
Expand Down
4 changes: 2 additions & 2 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
| <a name="input_csi_driver_smb_values"></a> [csi\_driver\_smb\_values](#input\_csi\_driver\_smb\_values) | Additional helm values file to pass to csi-driver-smb as 'valuesContent' at the HelmChart. | `string` | `""` | no |
| <a name="input_disable_hetzner_csi"></a> [disable\_hetzner\_csi](#input\_disable\_hetzner\_csi) | Disable hetzner csi driver. | `bool` | `false` | no |
| <a name="input_disable_network_policy"></a> [disable\_network\_policy](#input\_disable\_network\_policy) | Disable k3s default network policy controller (default false, automatically true for calico and cilium). | `bool` | `false` | no |
| <a name="input_dns_servers"></a> [dns\_servers](#input\_dns\_servers) | IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner. The length is limited to 3 entries, more entries is not supported by kubernetes | `list(string)` | <pre>[<br> "1.1.1.1",<br> "8.8.8.8",<br> "9.9.9.9"<br>]</pre> | no |
| <a name="input_dns_servers"></a> [dns\_servers](#input\_dns\_servers) | IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner. The length is limited to 3 entries, more entries is not supported by kubernetes | `list(string)` | `[]` | no |
| <a name="input_enable_cert_manager"></a> [enable\_cert\_manager](#input\_enable\_cert\_manager) | Enable cert manager. | `bool` | `true` | no |
| <a name="input_enable_csi_driver_smb"></a> [enable\_csi\_driver\_smb](#input\_enable\_csi\_driver\_smb) | Whether or not to enable csi-driver-smb. | `bool` | `false` | no |
| <a name="input_enable_klipper_metal_lb"></a> [enable\_klipper\_metal\_lb](#input\_enable\_klipper\_metal\_lb) | Use klipper load balancer. | `bool` | `false` | no |
Expand Down Expand Up @@ -204,4 +204,4 @@
| <a name="output_kubeconfig_file"></a> [kubeconfig\_file](#output\_kubeconfig\_file) | Kubeconfig file content with external IP address |
| <a name="output_network_id"></a> [network\_id](#output\_network\_id) | The ID of the HCloud network. |
| <a name="output_ssh_key_id"></a> [ssh\_key\_id](#output\_ssh\_key\_id) | The ID of the HCloud SSH key. |
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
4 changes: 2 additions & 2 deletions kube.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,9 @@ module "kube-hetzner" {
# You can enable cert-manager (installed by Helm behind the scenes) with the following flag, the default is "true".
# enable_cert_manager = false

# IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner, defaults to ["1.1.1.1", "8.8.8.8", "9.9.9.9"].
# IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner https://docs.hetzner.com/dns-console/dns/general/recursive-name-servers/, (defaults is []).
# The number of different DNS servers is limited to 3 by Kubernetes itself.
# dns_servers = []
# dns_servers = ["1.1.1.1", "8.8.8.8", "9.9.9.10"]

# When this is enabled, rather than the first node, all external traffic will be routed via a control-plane loadbalancer, allowing for high availability.
# The default is false.
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ variable "control_plane_lb_enable_public_interface" {

variable "dns_servers" {
type = list(string)
default = ["1.1.1.1", "8.8.8.8", "9.9.9.9"]
default = []
description = "IP Addresses to use for the DNS Servers, set to an empty list to use the ones provided by Hetzner. The length is limited to 3 entries, more entries is not supported by kubernetes"

validation {
Expand Down

0 comments on commit 49d0799

Please sign in to comment.