From 3f41e9718ec43dd3cf3a5534d6015ce921318adf Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Sun, 7 Apr 2024 21:12:02 +0200 Subject: [PATCH] add dependency to longhorn --- oci-managed/oke/longhorn.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/oci-managed/oke/longhorn.tf b/oci-managed/oke/longhorn.tf index 5623d66..671d73d 100644 --- a/oci-managed/oke/longhorn.tf +++ b/oci-managed/oke/longhorn.tf @@ -1,5 +1,6 @@ resource "helm_release" "longhorn" { count = var.install_longhorn ? 1 : 0 + depends_on = [ oci_containerengine_cluster.k8s_cluster ] namespace = "longhorn-system" create_namespace = true name = "longhorn"