Skip to content

Commit befb835

Browse files
authored
Merge pull request #57 from linuxfoundation/bramwelt/gateway-formatting
Gateway: Quote Listener Hostname, Ensure Port int
2 parents 77d6775 + 23edea3 commit befb835

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/lfx-platform/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: lfx-platform
66
description: LFX Platform v2 Helm chart
77
type: application
8-
version: 0.2.13
8+
version: 0.2.14
99
icon: https://github.com/linuxfoundation/lfx-v2-helm/raw/main/img/lfx-logo-color.svg
1010
dependencies:
1111
- name: traefik

charts/lfx-platform/templates/gateway.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ spec:
2222
listeners:
2323
{{- range $name, $listener := .Values.gateway.listeners }}
2424
- name: {{ $name }}
25-
port: {{ $listener.port }}
25+
port: {{ $listener.port | int }}
2626
protocol: {{ $listener.protocol }}
2727
{{- if $listener.hostname }}
28-
hostname: {{ $listener.hostname }}
28+
hostname: {{ $listener.hostname | quote }}
2929
{{- end }}
3030
{{- if $listener.allowedRoutes }}
3131
allowedRoutes:

0 commit comments

Comments
 (0)