Add ingressroute for grafana

This commit is contained in:
toffe
2026-07-21 13:09:51 +02:00
parent b9a951e262
commit a5e1bd586f
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana-ingressroute
namespace: argocd
spec:
project: infra-services
source:
repoURL: https://gitea.houlahop.fr/argocd/argocd.git
targetRevision: HEAD
path: values/grafana/ingressroute
destination:
server: https://kubernetes.default.svc
namespace: grafana13
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
@@ -0,0 +1,19 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: grafana13-ingress-http
namespace: grafana13
spec:
entryPoints:
- websecure
routes:
- match: Host(`grafana13.lab.lan`)
kind: Rule
# middlewares:
# - name: redirect-to-https
services:
- name: grafana13
port: 80
# If openbao installed
# tls:
# secretName: grafana-tls