---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: grafana
  name: grafana
  namespace: prow-monitoring
spec:
  type: NodePort
  ports:
  - name: http
    port: 3001
    targetPort: http
  selector:
    app: grafana
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.global-static-ip-name: monitoring-prow
    kubernetes.io/tls-acme: "true"
    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
    certmanager.k8s.io/acme-http01-edit-in-place: "true"
    kubernetes.io/ingress.class: "gce"
  name: grafana
  namespace: prow-monitoring
spec:
  tls:
    - secretName: grafana-tls
      hosts:
        - monitoring.prow.k8s.io
  rules:
    - host: monitoring.prow.k8s.io
      http:
        paths:
          - backend:
              serviceName: grafana
              servicePort: 3001

---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: grafana
  name: grafana
  namespace: prow-monitoring
spec:
  type: NodePort
  ports:
  - name: http
    port: 3001
    targetPort: http
  selector:
    app: grafana
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.global-static-ip-name: prow-monitoring-grafana
    kubernetes.io/tls-acme: "true"
    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
    certmanager.k8s.io/acme-http01-edit-in-place: "true"
    kubernetes.io/ingress.class: "gce"
  name: grafana
  namespace: prow-monitoring
spec:
  tls:
    - secretName: grafana-tls
      hosts:
        - monitoring.prow.k8s.io
  rules:
    - host: monitoring.prow.k8s.io
      http:
        paths:
          - backend:
              serviceName: grafana
              servicePort: 3001

Fix grafana ingress static ip name.
Fix grafana ingress static ip name.
