1
0
mirror of https://github.com/minio/minio.git synced 2025-03-26 23:40:57 -04:00

Add env variable MINIO_IDENTITY_OPENID_REDIRECT_URI to statefulset ()

Using oidc.redirectUri in the values.yaml only works for the deployment.

When using the statefulset the environment variable
MINIO_IDENTITY_OPENID_REDIRECT_URI is not set. This leads to errors with
oicd providers. For example keycloak throws the error 'invalid
redirect_uri'.

This pull request fixes that.
This commit is contained in:
Alexander Thaller 2024-04-04 08:34:45 +02:00 committed by GitHub
parent d96d696841
commit 5f07eb2d17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -181,6 +181,8 @@ spec:
value: {{ .Values.oidc.scopes }}
- name: MINIO_IDENTITY_OPENID_COMMENT
value: {{ .Values.oidc.comment }}
- name: MINIO_IDENTITY_OPENID_REDIRECT_URI
value: {{ .Values.oidc.redirectUri }}
- name: MINIO_IDENTITY_OPENID_DISPLAY_NAME
value: {{ .Values.oidc.displayName }}
{{- end }}