apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: grafana-ingress
  namespace: monitoring
  annotations:
    # necessary to create more complex ingress rules
    nginx.ingress.kubernetes.io/use-regex: "true"