Skip to content

Commit

Permalink
fix namespace metadata accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jan 3, 2024
1 parent 8efffa6 commit 4b3cc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/setup/cd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "plural_git_repository" "infra" {

resource "plural_service_deployment" "helm-repositories" {
name = "helm-repositories"
namespace = kubernetes_namespace.infra.metadata.name
namespace = kubernetes_namespace.infra.metadata[0].name
repository = {
id = plural_git_repository.infra.id
ref = "main"
Expand All @@ -39,7 +39,7 @@ resource "plural_service_deployment" "helm-repositories" {

resource "plural_service_deployment" "apps" {
name = "apps"
namespace = kubernetes_namespace.infra.metadata.name
namespace = kubernetes_namespace.infra.metadata[0].name
repository = {
id = plural_git_repository.infra.id
ref = "main"
Expand Down

0 comments on commit 4b3cc4d

Please sign in to comment.