Add ingressroute for grafana
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user