update deployment variable name
This commit is contained in:
parent
bf72b1df6b
commit
56c81bce58
@ -7,7 +7,7 @@ resource "kubernetes_deployment" "application" {
|
|||||||
metadata {
|
metadata {
|
||||||
name = local.application_name_prefixed
|
name = local.application_name_prefixed
|
||||||
labels = {
|
labels = {
|
||||||
app = local.service_match_label
|
app = local.deployment_match_label
|
||||||
env = var.environment
|
env = var.environment
|
||||||
}
|
}
|
||||||
namespace = var.kubernetes_namespace.id
|
namespace = var.kubernetes_namespace.id
|
||||||
@ -124,7 +124,7 @@ resource "kubernetes_service" "service" {
|
|||||||
namespace = var.kubernetes_namespace.id
|
namespace = var.kubernetes_namespace.id
|
||||||
name = local.service_name_prefixed
|
name = local.service_name_prefixed
|
||||||
labels = {
|
labels = {
|
||||||
app = local.deployment_match_label
|
app = local.service_match_label
|
||||||
env = var.environment
|
env = var.environment
|
||||||
}
|
}
|
||||||
annotations = {
|
annotations = {
|
||||||
|
Loading…
Reference in New Issue
Block a user