@@ -18,15 +18,15 @@ locals {
1818 # talos image, which is created in the installed state.
1919 # install = {}
2020 features = {
21- # see https://www.talos.dev/v1.10 /kubernetes-guides/configuration/kubeprism/
21+ # see https://www.talos.dev/v1.11 /kubernetes-guides/configuration/kubeprism/
2222 # see talosctl -n $c0 read /etc/kubernetes/kubeconfig-kubelet | yq .clusters[].cluster.server
2323 # NB if you use a non-default CNI, you must configure it to use the
2424 # https://localhost:7445 kube-apiserver endpoint.
2525 kubePrism = {
2626 enabled = true
2727 port = 7445
2828 }
29- # see https://www.talos.dev/v1.10 /talos-guides/network/host-dns/
29+ # see https://www.talos.dev/v1.11 /talos-guides/network/host-dns/
3030 hostDNS = {
3131 enabled = true
3232 forwardKubeDNSToHost = true
@@ -82,8 +82,8 @@ locals {
8282 # from https://discovery.talos.dev/ (or a custom and paid one running
8383 # locally in your network).
8484 # NB without this, talosctl get members, always returns an empty set.
85- # see https://www.talos.dev/v1.10 /talos-guides/discovery/
86- # see https://www.talos.dev/v1.10 /reference/configuration/v1alpha1/config/#Config.cluster.discovery
85+ # see https://www.talos.dev/v1.11 /talos-guides/discovery/
86+ # see https://www.talos.dev/v1.11 /reference/configuration/v1alpha1/config/#Config.cluster.discovery
8787 # see https://github.com/siderolabs/talos/issues/9980
8888 # see https://github.com/siderolabs/talos/commit/c12b52491456d1e52204eb290d0686a317358c7c
8989 discovery = {
@@ -109,12 +109,12 @@ locals {
109109 }
110110}
111111
112- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/resources/machine_secrets
112+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/resources/machine_secrets
113113resource "talos_machine_secrets" "talos" {
114114 talos_version = " v${ var . talos_version } "
115115}
116116
117- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/data-sources/machine_configuration
117+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/data-sources/machine_configuration
118118data "talos_machine_configuration" "controller" {
119119 cluster_name = var. cluster_name
120120 cluster_endpoint = var. cluster_endpoint
@@ -130,7 +130,7 @@ data "talos_machine_configuration" "controller" {
130130 machine = {
131131 network = {
132132 interfaces = [
133- # see https://www.talos.dev/v1.10 /talos-guides/network/vip/
133+ # see https://www.talos.dev/v1.11 /talos-guides/network/vip/
134134 {
135135 interface = " eth0"
136136 dhcp = true
@@ -212,7 +212,7 @@ data "talos_machine_configuration" "controller" {
212212 ]
213213}
214214
215- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/data-sources/machine_configuration
215+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/data-sources/machine_configuration
216216data "talos_machine_configuration" "worker" {
217217 cluster_name = var. cluster_name
218218 cluster_endpoint = var. cluster_endpoint
@@ -227,14 +227,14 @@ data "talos_machine_configuration" "worker" {
227227 ]
228228}
229229
230- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/data-sources/client_configuration
230+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/data-sources/client_configuration
231231data "talos_client_configuration" "talos" {
232232 cluster_name = var. cluster_name
233233 client_configuration = talos_machine_secrets. talos . client_configuration
234234 endpoints = [for node in local . controller_nodes : node . address ]
235235}
236236
237- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/resources/cluster_kubeconfig
237+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/resources/cluster_kubeconfig
238238resource "talos_cluster_kubeconfig" "talos" {
239239 client_configuration = talos_machine_secrets. talos . client_configuration
240240 endpoint = local. controller_nodes [0 ]. address
@@ -244,7 +244,7 @@ resource "talos_cluster_kubeconfig" "talos" {
244244 ]
245245}
246246
247- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/resources/machine_configuration_apply
247+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/resources/machine_configuration_apply
248248resource "talos_machine_configuration_apply" "controller" {
249249 count = var. controller_count
250250 client_configuration = talos_machine_secrets. talos . client_configuration
@@ -265,7 +265,7 @@ resource "talos_machine_configuration_apply" "controller" {
265265 ]
266266}
267267
268- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/resources/machine_configuration_apply
268+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/resources/machine_configuration_apply
269269resource "talos_machine_configuration_apply" "worker" {
270270 count = var. worker_count
271271 client_configuration = talos_machine_secrets. talos . client_configuration
@@ -286,7 +286,7 @@ resource "talos_machine_configuration_apply" "worker" {
286286 ]
287287}
288288
289- // see https://registry.terraform.io/providers/siderolabs/talos/0.8.1 /docs/resources/machine_bootstrap
289+ // see https://registry.terraform.io/providers/siderolabs/talos/0.9.0 /docs/resources/machine_bootstrap
290290resource "talos_machine_bootstrap" "talos" {
291291 client_configuration = talos_machine_secrets. talos . client_configuration
292292 endpoint = local. controller_nodes [0 ]. address
0 commit comments