Skip to content

Commit 45a1da1

Browse files
committed
refactor(server): change default ingress.port behaviour in ingress objects
1 parent 4b4aa3f commit 45a1da1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: server
33
description: A Helm chart for the server component of Amplication
44

55
type: application
6-
version: 2.0.3
6+
version: 2.0.4
77
appVersion: "0.0.0"
88

99
sources:

server/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- if .Values.ingress.enabled -}}
22
{{- $fullName := include "server.fullname" . -}}
3-
{{- $svcPort := .Values.service.port -}}
3+
{{- $svcPort := .Values.service.port.https -}}
44
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
55
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
66
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}

0 commit comments

Comments
 (0)