Skip to content

Commit

Permalink
Configured ClusterIP service to forward port 80 to var.port so th…
Browse files Browse the repository at this point in the history
…at `http://<service>` resolves.
  • Loading branch information
BSick7 committed Mar 20, 2024
1 parent 245b54e commit 5281079
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.4 (Mar 20, 2024)
* Configured `ClusterIP` service to forward port 80 to `var.port` so that `http://<service>` resolves.

# 0.6.3 (Mar 20, 2024)
* Disable `read_only_root_filesystem`.
* Updated creation sequence to ensure secrets are created before creating the deployment.
Expand Down
2 changes: 1 addition & 1 deletion service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "kubernetes_service_v1" "this" {
selector = local.match_labels

port {
port = var.port
port = 80
target_port = var.port
}
}
Expand Down

0 comments on commit 5281079

Please sign in to comment.