mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-13 22:39:06 +02:00
Add longhorn
This commit is contained in:
13
oci-managed/oke/longhorn.tf
Normal file
13
oci-managed/oke/longhorn.tf
Normal 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
|
||||
}
|
Reference in New Issue
Block a user