update deployment variable name
This commit is contained in:
parent
bf72b1df6b
commit
56c81bce58
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user