diff --git a/charts/hub/Chart.yaml b/charts/hub/Chart.yaml index 5f70867..c8a77c9 100644 --- a/charts/hub/Chart.yaml +++ b/charts/hub/Chart.yaml @@ -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 diff --git a/charts/hub/templates/kerberos-hub/hub-api.yaml b/charts/hub/templates/kerberos-hub/hub-api.yaml index 5a1bcd2..4834faa 100644 --- a/charts/hub/templates/kerberos-hub/hub-api.yaml +++ b/charts/hub/templates/kerberos-hub/hub-api.yaml @@ -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 diff --git a/charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml b/charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml index aea1efc..2c1433c 100644 --- a/charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml +++ b/charts/hub/templates/kerberos-hub/hub-oauth2-proxy.yaml @@ -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 }}"