Add longhorn

This commit is contained in:
2024-04-07 19:49:46 +02:00
parent 01979dda35
commit 1191fad431
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
resource "helm_release" "longhorn" {
count = var.install_longhorn ? 1 : 0
namespace = "longhorn-system"
create_namespace = true
name = "longhorn"
repository = "https://charts.longhorn.io"
chart = "longhorn"
version = var.longhorn_chart_version
cleanup_on_fail = true
# Helm chart deployment can sometimes take longer than the default 5 minutes
timeout = var.timeout_seconds
}