28 lines
656 B
YAML
28 lines
656 B
YAML
|
---
|
||
|
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
|