Skip to content

Commit

Permalink
className fix and nginx redirect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aduril committed Sep 12, 2024
1 parent 8bafb77 commit 98363a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deployment/dev/daps-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ ingress:
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/cluster-issuer: cluster-issuer-letsencrypt
nginx.ingress.kubernetes.io/server-snippet: "location /auth {\n rewrite /auth/(.*) /$1 break;\n proxy_pass http://daps-server.edc-dev.svc.cluster.local:4567;\n proxy_set_header Host $host;\n proxy_redirect off;\n}\n\nlocation /.well-known {\n rewrite /\\.well-known/oauth-authorization-server/auth /auth/.well-known/oauth-authorization-server last;\n rewrite /\\.well-known/openid-configuration/auth /auth/.well-known/openid-configuration last;\n rewrite /\\.well-known/webfinger /auth/.well-known/webfinger last;\n rewrite /\\.well-known/jwks.json /auth/jwks.json last;\n}\n\nlocation /api/v1/connectors { \n deny all;\n return 403; \n} \n"

ingressClassName: "nginx"
nginx.ingress.kubernetes.io/server-snippet: "location /auth {\n rewrite /auth/(.*) /$1 break;\n proxy_pass http://daps-daps-server.edc-dev.svc.cluster.local:4567;\n proxy_set_header Host $host;\n proxy_redirect off;\n}\n\nlocation /.well-known {\n rewrite /\\.well-known/oauth-authorization-server/auth /auth/.well-known/oauth-authorization-server last;\n rewrite /\\.well-known/openid-configuration/auth /auth/.well-known/openid-configuration last;\n rewrite /\\.well-known/webfinger /auth/.well-known/webfinger last;\n rewrite /\\.well-known/jwks.json /auth/jwks.json last;\n}\n\nlocation /api/v1/connectors { \n deny all;\n return 403; \n} \n"
className: "nginx"
hosts:
- host: daps.dev.possible-x.de
paths:
Expand Down

0 comments on commit 98363a1

Please sign in to comment.