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

chore: dynamically determine gitlab external auth defaults #13102

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Apr 29, 2024

Static defaults work for github cloud, but not self hosted. Self hosted setups will now have sane defaults if omitted.

Closes #8293

Our docs do specify to include all values. This is just a safeguard against some mis-configuration. We do this for all other self hosted types, gitlab is just a special case where the same codersdk type is used for self hosted and cloud offering.

Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

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

neato

Static defaults work for github cloud, but not self hosted.
Self hosted setups will now have sane defaults if omitted.
@Emyrk Emyrk force-pushed the stevenmasley/dynamic_gitlab branch from c744c90 to 0b15643 Compare April 30, 2024 14:31
@Emyrk Emyrk merged commit 53f7e9e into main Apr 30, 2024
25 checks passed
@Emyrk Emyrk deleted the stevenmasley/dynamic_gitlab branch April 30, 2024 14:45
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gitauth: automatically match against the auth URL
2 participants