Skip to content

Commit

Permalink
Merge pull request #3 from castai/feat/evictor
Browse files Browse the repository at this point in the history
feat: install evictor
  • Loading branch information
aldor007 authored Apr 19, 2022
2 parents a4f237e + 80cce57 commit 345a3b3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 345a3b3

Please sign in to comment.