We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6bdce commit 639d4e4Copy full SHA for 639d4e4
charts/nextcloud/templates/route.yaml
@@ -1,6 +1,6 @@
1
{{- if .Values.route.enabled }}
2
-apiVersion: {{ .Values.route.apiVersion | default "gateway.networking.k8s.io/v1" }}
3
-kind: {{ .Values.route.kind | default "HTTPRoute" }}
+apiVersion: {{ .Values.route.apiVersion }}
+kind: {{ .Values.route.kind }}
4
metadata:
5
name: {{ template "nextcloud.fullname" . }}
6
namespace: {{ .Release.Namespace }}
@@ -23,7 +23,7 @@ spec:
23
{{- tpl (toYaml .) $ | nindent 4 }}
24
{{- end }}
25
rules:
26
- {{- if .Values.route.additionalRules }}
+ {{- with .Values.route.additionalRules }}
27
{{- tpl (toYaml .Values.route.additionalRules) $ | nindent 4 }}
28
29
- backendRefs:
0 commit comments