From 80cce57f9dbdcd210d5536607bdef2f0c6f793c1 Mon Sep 17 00:00:00 2001 From: Marcin Kaciuba Date: Tue, 19 Apr 2022 07:35:37 +0200 Subject: [PATCH] feat: install evictor --- main.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/main.tf b/main.tf index 72cdbdd..a2d9fb0 100644 --- a/main.tf +++ b/main.tf @@ -39,6 +39,22 @@ resource "helm_release" "castai_agent" { } } +resource "helm_release" "castai_evictor" { + name = "cluster-evictor" + repository = "https://castai.github.io/helm-charts" + chart = "castai-evictor" + namespace = "castai-agent" + create_namespace = true + cleanup_on_fail = true + + set { + name = "replicaCount" + value = "0" + } + + depends_on = [helm_release.castai_agent] +} + resource "helm_release" "castai_cluster_controller" { name = "cluster-controller" repository = "https://castai.github.io/helm-charts"