Skip to content

Commit 639d4e4

Browse files
committed
chore: some fix from review
1 parent ba6bdce commit 639d4e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

charts/nextcloud/templates/route.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{- if .Values.route.enabled }}
2-
apiVersion: {{ .Values.route.apiVersion | default "gateway.networking.k8s.io/v1" }}
3-
kind: {{ .Values.route.kind | default "HTTPRoute" }}
2+
apiVersion: {{ .Values.route.apiVersion }}
3+
kind: {{ .Values.route.kind }}
44
metadata:
55
name: {{ template "nextcloud.fullname" . }}
66
namespace: {{ .Release.Namespace }}
@@ -23,7 +23,7 @@ spec:
2323
{{- tpl (toYaml .) $ | nindent 4 }}
2424
{{- end }}
2525
rules:
26-
{{- if .Values.route.additionalRules }}
26+
{{- with .Values.route.additionalRules }}
2727
{{- tpl (toYaml .Values.route.additionalRules) $ | nindent 4 }}
2828
{{- end }}
2929
- backendRefs:

0 commit comments

Comments
 (0)