Skip to content

Commit

Permalink
Fixed service name from being blank.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Mar 27, 2024
1 parent aa8ace6 commit ca75e23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.6.16 (Mar 27, 2024)
* Fixed service name from being blank.

# 0.6.15 (Mar 27, 2024)
* Fixed capability usage of `var.service_port`.

Expand Down
2 changes: 1 addition & 1 deletion service.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
has_service = var.service_port == 0 || var.container_port == 0 ? false : true
service_name = local.has_service ? "" : local.app_name
service_name = !local.has_service ? "" : local.app_name
}

resource "kubernetes_service_v1" "this" {
Expand Down

0 comments on commit ca75e23

Please sign in to comment.