-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Installer]: change authProviders from raw data to a secret #7177
Conversation
Codecov Report
@@ Coverage Diff @@
## main #7177 +/- ##
==========================================
- Coverage 36.25% 5.76% -30.50%
==========================================
Files 21 13 -8
Lines 4763 1162 -3601
==========================================
- Hits 1727 67 -1660
+ Misses 2899 1094 -1805
+ Partials 137 1 -136
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
31a4cda
to
3eae49c
Compare
e4e0970
to
6f7e405
Compare
Makes sense to me. 👍 |
Hey @mrsimonemms my preference would be to hold on this, as we're trying to get the Installer into core-dev (ideally for Tuesday). Is that okay? |
@kylos101 yes, I think that's very pragmatic. Your core-dev changes are both bigger and more useful /hold |
6f7e405
to
0487277
Compare
@kylos101 I've resolved the conflict. Let's chat when you're online later today and I'll get the required updates in for the auth provider secrets to work with your core-dev changes |
5a935f0
to
e92b27e
Compare
e92b27e
to
31c5cab
Compare
Ready for review @gitpod-io/engineering-self-hosted @gitpod-io/engineering-meta @gitpod-io/engineering-workspace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
@jankeromnes can you added your thoughts/approval please? /hold |
768e4b9
to
49aa909
Compare
This allows for the values to be injected via a Kubernetes secret, reducing the exposure of sensitive data in configuration
49aa909
to
9d41659
Compare
/approve |
Word of caution: this is a slippery slope. For one, we already have folks out there who use the installer (at the very very least we don't know, so it's safe to assume they exist). But also, it's exactly this kind of argument that we've resorted to over the past year(s) when making incompatible changes to the config surface. Instead, we must flex that muscle of maintaining a compatible surface. The sooner we start with a new config version, auto-migration, and so forth, the sooner we get used to this, the less effort it becomes, the more likely we are to make better changes. |
I 100% agree with you @csweichel. As far as I'm concerned, this is the only incompatible change that will be made whilst retaining With regards to a |
/approve |
/lgtm |
LGTM label has been added. Git tree hash: ef7d1ecb488950ab79a0add7900aee96664a1c00
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kylos101, laushinka, MrSimonEmms Associated issue: #6867 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
Description
Allows Installer users to set their auth providers as a secret rather than putting sensitive data in plain text.
Technically this is a breaking change on the config so should discuss how we publicise it - personally, as we're only in the early days of the Installer, I would favour putting it out there and updating the Discord with an announcement. cc @csweichel @kylos101 @corneliusludmann
Related Issue(s)
Fixes #6867
How to test
Deploy via the Installer with the auth provider
Set your config:
Create a secret file:
Create a secret:
Go to your Gitpod instance and you should be prompted to login and not give OAuth provider details
Release Notes
Documentation