From b747d2a4672a284b8daf6b28355c164b7377a942 Mon Sep 17 00:00:00 2001 From: ilitirit Date: Wed, 12 Apr 2023 21:13:32 +0200 Subject: [PATCH] Use port 443 --- Expedience.Api/Dockerfile | 1 - Expedience.Api/ingress.yaml | 2 +- Expedience.Api/service.yaml | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Expedience.Api/Dockerfile b/Expedience.Api/Dockerfile index e4496dc..4be5aeb 100644 --- a/Expedience.Api/Dockerfile +++ b/Expedience.Api/Dockerfile @@ -34,7 +34,6 @@ COPY --from=build /app/publish . ENV ASPNETCORE_ENVIRONMENT=Production # Expose the port the application will run on -EXPOSE 80 EXPOSE 443 # Set the entry point for the container diff --git a/Expedience.Api/ingress.yaml b/Expedience.Api/ingress.yaml index 78da131..e4c9f3c 100644 --- a/Expedience.Api/ingress.yaml +++ b/Expedience.Api/ingress.yaml @@ -21,4 +21,4 @@ spec: service: name: expedience-api-service port: - number: 80 + number: 443 diff --git a/Expedience.Api/service.yaml b/Expedience.Api/service.yaml index a3b8a97..05c3269 100644 --- a/Expedience.Api/service.yaml +++ b/Expedience.Api/service.yaml @@ -8,6 +8,6 @@ spec: app: expedience-api ports: - protocol: TCP - port: 80 - targetPort: 80 + port: 443 + targetPort: 443 type: ClusterIP