core-deployments/grafana/ingress.yaml

28 lines
656 B
YAML
Raw Normal View History

2023-03-25 16:39:04 +01:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana-ingress
namespace: grafana
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: letsencrypt-prod
acme.cert-manager.io/http01-edit-in-place: "true"
ingress.kubernetes.io/ssl-redirect: "false"
#nginx.org/ssl-services: "grafana"
spec:
rules:
- host: "grafana.apps.yolokube.de"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: grafana
port:
number: 80
tls:
- hosts:
- grafana.apps.yolokube.de
secretName: grafana-cert