Skip to content

Commit 9a58a8b

Browse files
authored
Simplify hostname appending in httproute.yaml (#161)
* Simplify hostname appending in httproute.yaml * Bump version from 0.4.1 to 0.4.2
1 parent 49c3a32 commit 9a58a8b

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

charts/archery/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
home: https://archerydms.com/
33
description: Archery Helm chart for Kubernetes
44
name: archery
5-
version: 0.4.1
5+
version: 0.4.2
66
sources:
77
- https://github.com/hhyo/Archery
88

charts/archery/templates/httproute.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
{{- $hostnames := (list) }}
44
{{- if .Values.httpRoute.ingressCompact }}
55
{{- range .Values.ingress.hosts }}
6-
{{- if .host }}
7-
{{- $hostnames = append $hostnames .host }}
8-
{{- end }}
6+
{{- $hostnames = append $hostnames . }}
97
{{- end }}
108
{{- else }}
119
{{- $hostnames = default (list) .Values.httpRoute.hostnames }}

0 commit comments

Comments
 (0)