diff --git a/adhoc-config/grafana-ingress.yml b/adhoc-config/grafana-ingress.yml index 1e53d64..fc5dbb1 100644 --- a/adhoc-config/grafana-ingress.yml +++ b/adhoc-config/grafana-ingress.yml @@ -4,12 +4,12 @@ metadata: name: grafana-ingress namespace: default annotations: - kubernetes.io/ingress.class: "nginx" kubernetes.io/tls-acme: "true" cert-manager.io/cluster-issuer: "letsencrypt-prod" - nginx.ingress.kubernetes.io/auth-url: "https://id.junv.cc/oauth2/auth" - nginx.ingress.kubernetes.io/auth-signin: "https://id.junv.cc/oauth2/start?rd=https%3A%2F%2F$host$request_uri" + nginx.ingress.kubernetes.io/auth-url: "https://pass.junv.cc/auth" + nginx.ingress.kubernetes.io/auth-signin: "https://pass.junv.cc/?redirect=https%3A%2F%2F$host$request_uri" spec: + ingressClassName: nginx tls: - hosts: - grafana.junv.cc diff --git a/adhoc-config/prometheus-ingress.yml b/adhoc-config/prometheus-ingress.yml index b3d9a0d..1198fa6 100644 --- a/adhoc-config/prometheus-ingress.yml +++ b/adhoc-config/prometheus-ingress.yml @@ -4,12 +4,12 @@ metadata: name: prometheus-operator-ingress namespace: prometheus annotations: - kubernetes.io/ingress.class: "nginx" kubernetes.io/tls-acme: "true" cert-manager.io/cluster-issuer: "letsencrypt-prod" - nginx.ingress.kubernetes.io/auth-url: "https://id.junv.cc/oauth2/auth" - nginx.ingress.kubernetes.io/auth-signin: "https://id.junv.cc/oauth2/start?rd=https%3A%2F%2F$host$request_uri" + nginx.ingress.kubernetes.io/auth-url: "https://pass.junv.cc/auth" + nginx.ingress.kubernetes.io/auth-signin: "https://pass.junv.cc/?redirect=https%3A%2F%2F$host$request_uri" spec: + ingressClassName: nginx tls: - hosts: - prometheus.junv.cc