Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SamlGroupLinks #144

Merged

Conversation

jholt96
Copy link

@jholt96 jholt96 commented May 9, 2024

Description of your changes

This PR adds SamlGroupLink functionality. This allows users to tie Saml groups to Gitlab groups using the samlGroupSync feature for Gitlab EE.

https://docs.gitlab.com/ee/user/group/saml_sso/group_sync.html

I have:

  • Read and followed Crossplane's [contribution process].
  • Run make reviewable test to ensure this PR is ready for review.
    => fails

How has this code been tested

  1. Unit tests have been created to test the controller functionality for observe, connect, create, delete
  2. Tested in RKE2 cluster. I was able to create and delete saml group sync's on various groups.

@jholt96 jholt96 force-pushed the feature-add-groupsamllink branch from 16523eb to 9887214 Compare May 9, 2024 20:25
@jholt96 jholt96 force-pushed the feature-add-groupsamllink branch 4 times, most recently from e4962e6 to 84e3570 Compare May 13, 2024 18:22
@jholt96 jholt96 requested a review from MisterMX May 17, 2024 13:07
@jholt96 jholt96 force-pushed the feature-add-groupsamllink branch 2 times, most recently from 07fd315 to e210894 Compare May 22, 2024 18:08
@jholt96
Copy link
Author

jholt96 commented May 22, 2024

Resolved previous lint Issues and ran the golangci-lint local with no errors

@MisterMX
Copy link
Collaborator

@jholt96 I think there is still an issue with the linter. Can you check again?

Signed-off-by: Josh Holt <[email protected]>
@jholt96 jholt96 force-pushed the feature-add-groupsamllink branch from e210894 to 07e6a88 Compare May 23, 2024 21:00
@jholt96
Copy link
Author

jholt96 commented May 23, 2024

@jholt96 I think there is still an issue with the linter. Can you check again?

Just added the comment that the job was complaining about. Sorry about that. I figured running the tool locally would be the same output.

@MisterMX MisterMX changed the title Feature add SamlGroupLink feat: SamlGroupLinks May 24, 2024
Copy link
Collaborator

@MisterMX MisterMX left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you very much @jholt96!

@MisterMX MisterMX merged commit 5d4151d into crossplane-contrib:master May 24, 2024
8 checks passed
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.

2 participants