-
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] Support enabling protected secrets #13484
Conversation
Currently it changes the rendering of the installer config when no flag is specified to |
Not intentional, but also not harmful I think. I will change it anyway, both to keep it consistent and to fix the test failure. |
d86ee00
to
48379a4
Compare
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.
LGTM.
An aside, this is one thing which the ws-director
would be able to help us solve - not needing to give DefaultWorkspaceFlags to server
and only configure it in the director which is way closer to the problem at hand.
/werft run with-sh-preview 👍 started the job as gitpod-build-cw-enable-ps-sh.2 |
@@ -119,6 +119,8 @@ type WorkspaceConfig struct { | |||
// Deprecated | |||
UsageReportBucketName string `json:"usageReportBucketName"` | |||
} `json:"contentService"` | |||
|
|||
EnableProtectedSecrets bool `json:"enabledProtectedSecrets"` |
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.
nit: is enabled
a typo? Just because in the example you gave in the description it was enable
and kinda took me a minute to realize when testing. :)
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.
Yes, this is a typo. Great catch :)
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.
Added a nit comment. But works well. Adding a hold for visibility.
/hold
48379a4
to
9b267f9
Compare
/unold |
/unhold |
Description
Adds support for enabling protected secrets in the installer.
How to test
Run the installer with the following config:
and observe how the server configmap now contains a new default feature flag.
Release Notes