-
Notifications
You must be signed in to change notification settings - Fork 38
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
Addresses changes made to security demo config install tool #85
Addresses changes made to security demo config install tool #85
Conversation
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
b7c8dcb
to
c275291
Compare
- [Getting Help](#getting-help) | ||
- [Code of Conduct](#code-of-conduct) | ||
- [Security](#security) | ||
- [License](#license) |
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.
this table was auto-updated by VS code to the follow the section outlines in this readme. Please let me know if this should be reverted.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #85 +/- ##
==========================================
+ Coverage 79.24% 79.37% +0.13%
==========================================
Files 6 6
Lines 448 451 +3
Branches 132 134 +2
==========================================
+ Hits 355 358 +3
Misses 93 93 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
1bb03e7
to
4c84726
Compare
Signed-off-by: Darshit Chanpura <[email protected]>
92dd56d
to
a8f3476
Compare
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
@@ -86,6 +86,12 @@ export class OsClusterEntrypoint { | |||
} | |||
const security = securityDisabled === 'true'; | |||
|
|||
// adminPassword is required if security is enabled and demo config is to be run for versions 2.12 and above | |||
const adminPassword: String = security ? `${scope.node.tryGetContext('adminPassword')}` : ""; | |||
if (!security && Number.parseFloat(distVersion) >= 2.12 && (adminPassword === null || adminPassword === "")) { |
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.
(adminPassword === null || adminPassword === "")
could just be adminPassword === 'undefined'
closing this in favor of #86. |
Description
There were recent changes to security demo configuration setup which now requires a custom admin Password to be setup. This PR updates the documentation and related code change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.