Skip to content

Commit

Permalink
Merge pull request #13 from kerberos-io/feature/add-oauth-to-api
Browse files Browse the repository at this point in the history
try out --skip-auth-preflight=true
  • Loading branch information
cedricve authored Oct 31, 2024
2 parents d816910 + d30b744 commit c70cf7f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.69.0
version: 0.70.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 0 additions & 4 deletions charts/hub/templates/kerberos-hub/hub-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ metadata:
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/server-snippet: |
if ($request_method = "OPTIONS") {
return 200;
}
{{- end }}
spec:
ingressClassName: nginx
Expand Down
1 change: 1 addition & 0 deletions charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
- --email-domain=*
- --upstream=file:///dev/null
- --http-address=0.0.0.0:4180
- --skip-auth-preflight=true
env:
- name: OAUTH2_PROXY_CLIENT_ID
value: "{{ .Values.kerberoshub.oauth2Proxy.github.clientId }}"
Expand Down

0 comments on commit c70cf7f

Please sign in to comment.