mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-13 22:39:06 +02:00
add dependency to longhorn
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
resource "helm_release" "longhorn" {
|
resource "helm_release" "longhorn" {
|
||||||
count = var.install_longhorn ? 1 : 0
|
count = var.install_longhorn ? 1 : 0
|
||||||
|
depends_on = [ oci_containerengine_cluster.k8s_cluster ]
|
||||||
namespace = "longhorn-system"
|
namespace = "longhorn-system"
|
||||||
create_namespace = true
|
create_namespace = true
|
||||||
name = "longhorn"
|
name = "longhorn"
|
||||||
|
Reference in New Issue
Block a user