Skip to content

Commit ceb47de

Browse files
committed
feat(terraform): add match_expressions to Argocd application set to exclude alicloud provider
1 parent 6787841 commit ceb47de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

application_set.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,12 @@ resource "argocd_application_set" "keda" {
640640
match_labels = {
641641
"argocd.argoproj.io/secret-type" = "cluster"
642642
}
643+
644+
match_expressions {
645+
key = "provider"
646+
operator = "NotIn"
647+
values = ["alicloud"]
648+
}
643649
}
644650
}
645651
}

0 commit comments

Comments
 (0)