Skip to content

Commit 5d42c58

Browse files
committed
feat(monitor): usegateway replace ingress
1 parent a5cac88 commit 5d42c58

3 files changed

Lines changed: 31 additions & 51 deletions

File tree

charts/monitor/templates/monitor-grafana-certificate.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

charts/monitor/templates/monitor-grafana-ingress.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
apiVersion: gateway.networking.k8s.io/v1beta1
2+
kind: HTTPRoute
3+
metadata:
4+
name: drycc-monitor-grafana
5+
labels:
6+
app: "drycc-monitor-grafana"
7+
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
8+
release: "{{ .Release.Name }}"
9+
heritage: "{{ .Release.Service }}"
10+
spec:
11+
hostnames:
12+
- drycc-monitor-grafana.{{ .Values.global.platformDomain }}
13+
parentRefs:
14+
- group: gateway.networking.k8s.io
15+
kind: Gateway
16+
name: drycc-gateway
17+
sectionName: drycc-gateway-listener-http
18+
{{- if .Values.global.certManagerEnabled }}
19+
- group: gateway.networking.k8s.io
20+
kind: Gateway
21+
name: drycc-gateway
22+
sectionName: drycc-gateway-listener-https
23+
{{- end }}
24+
rules:
25+
- matches:
26+
- path:
27+
type: PathPrefix
28+
value: /
29+
backendRefs:
30+
- name: drycc-monitor-grafana
31+
port: 80

0 commit comments

Comments
 (0)