You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- if and .Values.parent.enabled .Values.httpRoute.enabled -}}
2
+
{{- $fullName := include "netdata.name" . -}}
3
+
{{- $svcPort := .Values.service.port -}}
4
+
5
+
apiVersion: gateway.networking.k8s.io/v1
6
+
kind: HTTPRoute
7
+
metadata:
8
+
name: {{ $fullName }}
9
+
namespace: {{ .Release.Namespace }}
10
+
labels:
11
+
app: {{ template "netdata.name" . }}
12
+
chart: {{ template "netdata.chart" . }}
13
+
release: {{ .Release.Name }}
14
+
heritage: {{ .Release.Service }}
15
+
{{- with .Values.httpRoute.labels }}
16
+
{{ toYaml . | indent 4 }}
17
+
{{- end }}
18
+
{{- with .Values.httpRoute.annotations }}
19
+
annotations:
20
+
{{ toYaml . | indent 4 }}
21
+
{{- end }}
22
+
spec:
23
+
parentRefs:
24
+
{{ required "A valid .Values.httpRoute.parentRefs entry is required when httpRoute.enabled is true" .Values.httpRoute.parentRefs | toYaml | indent 4 }}
0 commit comments