update deployment variable name

This commit is contained in:
RouxAntoine 2021-07-04 20:11:36 +02:00
parent bf72b1df6b
commit 56c81bce58
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -7,7 +7,7 @@ resource "kubernetes_deployment" "application" {
metadata {
name = local.application_name_prefixed
labels = {
app = local.service_match_label
app = local.deployment_match_label
env = var.environment
}
namespace = var.kubernetes_namespace.id
@ -124,7 +124,7 @@ resource "kubernetes_service" "service" {
namespace = var.kubernetes_namespace.id
name = local.service_name_prefixed
labels = {
app = local.deployment_match_label
app = local.service_match_label
env = var.environment
}
annotations = {