Skip to content

Conversation

Alevsk
Copy link
Contributor

@Alevsk Alevsk commented Jul 31, 2020

No description provided.

@Alevsk Alevsk self-assigned this Jul 31, 2020
@Alevsk Alevsk added the WIP This PR is WIP and cannot be merged yet label Jul 31, 2020
dvaldivia
dvaldivia previously approved these changes Jul 31, 2020
Comment on lines +407 to +444
minInst.Spec.Env = append(minInst.Spec.Env, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_SERVER_ADDR",
Value: userNameFormat,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_USERNAME_FORMAT",
Value: userNameFormat,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_USERNAME_SEARCH_FILTER",
Value: userSearchFilter,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_USERNAME_SEARCH_FILTER",
Value: userSearchFilter,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_GROUP_SEARCH_BASE_DN",
Value: groupSearchDN,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_GROUP_SEARCH_FILTER",
Value: groupSearchFilter,
}, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_GROUP_NAME_ATTRIBUTE",
Value: groupNameAttribute,
})

if tlsSkipVerify {
minInst.Spec.Env = append(minInst.Spec.Env, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_TLS_SKIP_VERIFY",
Value: "on",
})
}
if serverInsecure {
minInst.Spec.Env = append(minInst.Spec.Env, corev1.EnvVar{
Name: "MINIO_IDENTITY_LDAP_SERVER_INSECURE",
Value: "on",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is okay for now, will make changes on the server codebase so that this is easily referenced and importable, such that any of these ENV changes console is not broken.

@Alevsk Alevsk force-pushed the idp-integration branch 3 times, most recently from 91db800 to 8549941 Compare August 3, 2020 06:14
@Alevsk Alevsk removed the WIP This PR is WIP and cannot be merged yet label Aug 3, 2020
dvaldivia
dvaldivia previously approved these changes Aug 3, 2020
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alevsk Alevsk merged commit c3e34dc into minio:master Aug 3, 2020
@Alevsk Alevsk deleted the idp-integration branch November 20, 2020 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants