1
0
Fork 0
home-stack-kustomize/kustomize/bases/grafana/grafana-ingress.yaml

26 lines
553 B
YAML
Raw Normal View History

2021-08-26 16:42:28 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana
labels:
2021-08-26 16:42:32 +00:00
app.kubernetes.io/name: grafana
2021-08-26 16:42:28 +00:00
annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /
# cert-manager.io/cluster-issuer: letsencrypt
spec:
# tls:
# - hosts:
# - ${GRAFANA_EXTERNAL_HOST}
# secretName: letsencrypt-cert
rules:
- host: ${GRAFANA_EXTERNAL_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: grafana
port:
name: http