shift route

This commit is contained in:
2025-05-14 23:31:00 -05:00
parent afaa0eaf7f
commit d4c358c546
2 changed files with 60 additions and 60 deletions

View File

@@ -1,30 +1,30 @@
# apiVersion: gateway.networking.k8s.io/v1 apiVersion: gateway.networking.k8s.io/v1
# kind: HTTPRoute kind: HTTPRoute
# metadata: metadata:
# name: http-route-grafana name: http-route-grafana
# namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
# labels: labels:
# app.kubernetes.io/name: http-route-grafana app.kubernetes.io/name: http-route-grafana
# app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
# app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion }}
# app.kubernetes.io/component: web app.kubernetes.io/component: web
# app.kubernetes.io/part-of: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }}
# spec: spec:
# parentRefs: parentRefs:
# - group: gateway.networking.k8s.io - group: gateway.networking.k8s.io
# kind: Gateway kind: Gateway
# name: traefik-gateway name: traefik-gateway
# namespace: traefik namespace: traefik
# hostnames: hostnames:
# - grafana.alexlebens.net - grafana.alexlebens.net
# rules: rules:
# - matches: - matches:
# - path: - path:
# type: PathPrefix type: PathPrefix
# value: / value: /
# backendRefs: backendRefs:
# - group: '' - group: ''
# kind: Service kind: Service
# name: grafana name: grafana-main-service
# port: 80 port: 3000
# weight: 100 weight: 100

View File

@@ -1,30 +1,30 @@
apiVersion: gateway.networking.k8s.io/v1 # apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute # kind: HTTPRoute
metadata: # metadata:
name: http-route-grafana # name: http-route-grafana
namespace: {{ .Release.Namespace }} # namespace: {{ .Release.Namespace }}
labels: # labels:
app.kubernetes.io/name: http-route-grafana # app.kubernetes.io/name: http-route-grafana
app.kubernetes.io/instance: {{ .Release.Name }} # app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} # app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web # app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }} # app.kubernetes.io/part-of: {{ .Release.Name }}
spec: # spec:
parentRefs: # parentRefs:
- group: gateway.networking.k8s.io # - group: gateway.networking.k8s.io
kind: Gateway # kind: Gateway
name: traefik-gateway # name: traefik-gateway
namespace: traefik # namespace: traefik
hostnames: # hostnames:
- grafana.alexlebens.net # - grafana.alexlebens.net
rules: # rules:
- matches: # - matches:
- path: # - path:
type: PathPrefix # type: PathPrefix
value: / # value: /
backendRefs: # backendRefs:
- group: '' # - group: ''
kind: Service # kind: Service
name: grafana # name: grafana
port: 80 # port: 80
weight: 100 # weight: 100