Skip to content

Commit

Permalink
secure /api, /grafana, storage separately rather than under / catchall
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Apr 18, 2024
1 parent 166666f commit 7f64c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cryostat/templates/openshiftOauthProxy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- --tls-key=/etc/tls/private/tls.key
- --proxy-prefix=/oauth2
- --openshift-sar={{ tpl ( .Values.openshiftOauthProxy.accessReview | toJson ) . }}
- --openshift-delegate-urls={"/":{{ tpl ( .Values.openshiftOauthProxy.tokenReview | toJson ) . }}}
- --openshift-delegate-urls={"/api":{{ tpl ( .Values.openshiftOauthProxy.tokenReview | toJson ) . }}, "/storage":{{ tpl ( .Values.openshiftOauthProxy.tokenReview | toJson ) . }}, "/grafana":{{ tpl ( .Values.openshiftOauthProxy.tokenReview | toJson ) . }} }
{{- if .Values.authentication.basicAuth.enabled }}
- --htpasswd-file=/etc/openshift_oauth_proxy/basicauth/{{ .Values.authentication.basicAuth.filename }}
{{- end }}
Expand Down

0 comments on commit 7f64c1a

Please sign in to comment.