apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: graf
  namespace: monitoring
  labels:
    name: graf-frontend
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
    kubernetes.io/ingress.class: "nginx"
    cert-manager.io/cluster-issuer: "letsencrypt-staging"
spec:
  tls:
  - hosts:
    - graf.paradox-server.ru
    secretName: paradox-server-graf-tls
  rules:
  - host: graf.paradox-server.ru
    http:
      paths:
      - pathType: Prefix
        path: "/"
        backend:
          service:
            name: grafana
            port:
              number: 80