mirror of
https://github.com/outbackdingo/terraform-hcloud-talos.git
synced 2026-01-27 10:20:30 +00:00
fix: dont use the talos_cluster_health because of: https://github.com/siderolabs/talos/issues/7967#issuecomment-2003751512
This commit is contained in:
16
health.tf
16
health.tf
@@ -1,8 +1,10 @@
|
||||
# The cluster should be healthy after cilium is installed
|
||||
data "talos_cluster_health" "this" {
|
||||
depends_on = [data.helm_template.cilium]
|
||||
client_configuration = data.talos_client_configuration.this.client_configuration
|
||||
endpoints = local.control_plane_public_ipv4_list
|
||||
control_plane_nodes = local.control_plane_private_ipv4_list
|
||||
worker_nodes = local.worker_private_ipv4_list
|
||||
}
|
||||
# It's actually not helpful because of https://github.com/siderolabs/talos/issues/7967#issuecomment-2003751512
|
||||
#data "talos_cluster_health" "this" {
|
||||
# depends_on = [data.helm_template.cilium]
|
||||
# client_configuration = data.talos_client_configuration.this.client_configuration
|
||||
# endpoints = local.control_plane_public_ipv4_list
|
||||
# control_plane_nodes = local.control_plane_private_ipv4_list
|
||||
# worker_nodes = local.worker_private_ipv4_list
|
||||
#}
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@ data "kubectl_file_documents" "hcloud_ccm" {
|
||||
resource "kubectl_manifest" "apply_hcloud_ccm" {
|
||||
for_each = data.kubectl_file_documents.hcloud_ccm.manifests
|
||||
yaml_body = each.value
|
||||
depends_on = [data.talos_cluster_health.this]
|
||||
depends_on = [data.helm_template.cilium]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user