Skip to content

Commit

Permalink
fix: wait for helm resources to become ready
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed May 5, 2022
1 parent 6550ed2 commit 2312f14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ resource "helm_release" "castai_agent" {
namespace = "castai-agent"
create_namespace = true
cleanup_on_fail = true
wait = true

set {
name = "provider"
Expand Down Expand Up @@ -46,6 +47,7 @@ resource "helm_release" "castai_evictor" {
namespace = "castai-agent"
create_namespace = true
cleanup_on_fail = true
wait = true

set {
name = "replicaCount"
Expand All @@ -66,6 +68,7 @@ resource "helm_release" "castai_cluster_controller" {
namespace = "castai-agent"
create_namespace = true
cleanup_on_fail = true
wait = true

set {
name = "castai.clusterID"
Expand Down

0 comments on commit 2312f14

Please sign in to comment.