Skip to content

Commit

Permalink
fix(priority-class): DMVP-5359 add priority class
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Sep 26, 2024
1 parent 0dbe9e2 commit 5702d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/priority-class/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ locals {
priority_class = concat(local.priority_class_default, var.additional_priority_classes)
}

output "priority_class" {
value = local.priority_class
}

resource "kubernetes_priority_class" "this" {
# Transform the list of maps into a key-value map suitable for for_each
for_each = { for pc in local.priority_class : pc.name => pc }
Expand Down
3 changes: 3 additions & 0 deletions modules/priority-class/output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
output "priority_class" {
value = local.priority_class
}

0 comments on commit 5702d19

Please sign in to comment.