apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth name: prometheus-k8s namespace: monitoring spec: ingressClassName: nginx rules: - host: metrics.prod.panic.haus http: paths: - backend: service: name: oauth2-proxy-prometheus-service port: number: 4180 path: / pathType: Prefix tls: - hosts: - metrics.prod.panic.haus secretName: monitoring-tls