replace hardcoded namespace with module reference [ci skip]
This commit is contained in:
parent
450bc96db8
commit
f1dde96d80
83 changed files with 411 additions and 403 deletions
|
|
@ -2,7 +2,7 @@
|
|||
resource "kubernetes_persistent_volume_claim" "prometheus_server_pvc" {
|
||||
metadata {
|
||||
name = "prometheus-iscsi-pvc"
|
||||
namespace = "monitoring"
|
||||
namespace = kubernetes_namespace.monitoring.metadata[0].name
|
||||
}
|
||||
|
||||
spec {
|
||||
|
|
@ -45,7 +45,7 @@ resource "kubernetes_persistent_volume" "prometheus_server_pvc" {
|
|||
}
|
||||
|
||||
resource "helm_release" "prometheus" {
|
||||
namespace = "monitoring"
|
||||
namespace = kubernetes_namespace.monitoring.metadata[0].name
|
||||
create_namespace = true
|
||||
name = "prometheus"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue