Skip to content

Commit

Permalink
fix(tf): assign pod quotas to correct namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Aug 14, 2023
1 parent 1f137bb commit 38cee3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tf/env/local/namespaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "kubernetes_namespace" "adhoc-job-namespace" {
resource "kubernetes_resource_quota" "adhoc-jobs-podquota" {
metadata {
name = "adhoc-jobs-podquota"
namespace = kubernetes_namespace.api-job-namespace.metadata[0].name
namespace = kubernetes_namespace.adhoc-job-namespace.metadata[0].name
}
spec {
hard = {
Expand Down
2 changes: 1 addition & 1 deletion tf/env/production/namespaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "kubernetes_resource_quota" "adhoc-jobs-podquota" {

metadata {
name = "adhoc-jobs-podquota"
namespace = kubernetes_namespace.api-job-namespace.metadata[0].name
namespace = kubernetes_namespace.adhoc-job-namespace.metadata[0].name
}
spec {
hard = {
Expand Down
2 changes: 1 addition & 1 deletion tf/env/staging/namespaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "kubernetes_resource_quota" "adhoc-jobs-podquota" {

metadata {
name = "adhoc-jobs-podquota"
namespace = kubernetes_namespace.api-job-namespace.metadata[0].name
namespace = kubernetes_namespace.adhoc-job-namespace.metadata[0].name
}
spec {
hard = {
Expand Down

0 comments on commit 38cee3f

Please sign in to comment.