mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-31 18:28:32 +00:00
update coredns
This commit is contained in:
@@ -114,7 +114,7 @@ spec:
|
|||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: coredns/coredns:1.10.0
|
image: coredns/coredns:1.10.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ resource "local_file" "controlplane" {
|
|||||||
resource "null_resource" "controlplane" {
|
resource "null_resource" "controlplane" {
|
||||||
for_each = local.controlplanes
|
for_each = local.controlplanes
|
||||||
provisioner "local-exec" {
|
provisioner "local-exec" {
|
||||||
command = "sleep 60 && talosctl apply-config --insecure --nodes ${hcloud_server.controlplane[each.key].ipv4_address} --config-patch @_cfgs/${each.value.name}.yaml --file _cfgs/controlplane.yaml"
|
command = "sleep 30 && talosctl apply-config --insecure --nodes ${hcloud_server.controlplane[each.key].ipv4_address} --timeout 5m0s --config-patch @_cfgs/${each.value.name}.yaml --file _cfgs/controlplane.yaml"
|
||||||
}
|
}
|
||||||
depends_on = [hcloud_load_balancer_target.api, local_file.controlplane]
|
depends_on = [hcloud_load_balancer_target.api, local_file.controlplane]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user