Skip to content

Commit

Permalink
Merge pull request #14 from TheJacksonLaboratory/G3-132-fix-the-auth-…
Browse files Browse the repository at this point in the history
…url-ingress-annotation-to-use-cluster-level-service

G3 132: Fixing oauth2 proxy nginx auth annotation
  • Loading branch information
bergsalex authored Jan 19, 2024
2 parents 34be235 + a8d924f commit cc4af40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/k8s/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
# so that you don't hit the rate limit for the production issuer.
cert-manager.io/cluster-issuer: "letsencrypt-staging"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/auth-url: "https://auth.jax-cluster-dev-10.jax.org/oauth2/auth"
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.oauth2-proxy.svc.cluster.local/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.jax-cluster-dev-10.jax.org/oauth2/start?rd=https://$http_host$escaped_request_uri"
spec:
ingressClassName: nginx
2 changes: 1 addition & 1 deletion deploy/k8s/overlays/jax-cluster-dev-10--dev/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
# so that you don't hit the rate limit for the production issuer.
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/auth-url: "https://auth.jax-cluster-dev-10.jax.org/oauth2/auth"
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.oauth2-proxy.svc.cluster.local/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.jax-cluster-dev-10.jax.org/oauth2/start?rd=https://$http_host$escaped_request_uri"
spec:
ingressClassName: nginx
Expand Down
2 changes: 1 addition & 1 deletion deploy/k8s/overlays/jax-cluster-dev-10--sqa/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
# so that you don't hit the rate limit for the production issuer.
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/auth-url: "https://auth.jax-cluster-dev-10.jax.org/oauth2/auth"
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.oauth2-proxy.svc.cluster.local/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://auth.jax-cluster-dev-10.jax.org/oauth2/start?rd=https://$http_host$escaped_request_uri"
spec:
ingressClassName: nginx
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "geneweaver-api"
version = "0.0.1a8"
version = "0.0.1a9"
description = "description"
authors = ["Jax Computational Sciences <cssc@jax.org>"]
packages = [
Expand Down

0 comments on commit cc4af40

Please sign in to comment.