From 22d65664b2f1215ac6ab963a9e21b4f510246e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 25 Aug 2024 00:25:49 +0300 Subject: [PATCH] whoami: Set higher port --- whoami/application.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/whoami/application.yml b/whoami/application.yml index 7a7951e..71ad701 100644 --- a/whoami/application.yml +++ b/whoami/application.yml @@ -20,6 +20,9 @@ spec: containers: - name: whoami image: traefik/whoami + env: + - name: WHOAMI_PORT_NUMBER + value: "8080" resources: limits: cpu: 10m @@ -30,7 +33,7 @@ spec: securityContext: readOnlyRootFilesystem: true ports: - - containerPort: 80 + - containerPort: 8080 protocol: TCP --- apiVersion: v1 @@ -46,7 +49,7 @@ spec: ports: - name: whoami-http port: 80 - targetPort: 80 + targetPort: 8080 --- apiVersion: networking.k8s.io/v1 kind: Ingress