-
Notifications
You must be signed in to change notification settings - Fork 323
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(setting): change ui-pl and ui-brand by rancher-manager-support #3784
Conversation
e770937
to
aa57ea7
Compare
find some code about ui-pl:
|
This part is about updating |
aa57ea7
to
0551485
Compare
should we document that while using embedded rancher in mcm mode, the end users cannot change the |
} | ||
|
||
uiPLCopy := uiPL.DeepCopy() | ||
if enable { |
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.
the default value of the setting is already rancher
and is applied with left empty.
should we following the same logic as we do for ui-brand and leave it empty when enabled?
On an existing install they are already empty.
(⎈|local:N/A)➜ harvester git:(update-ui-pl) ✗ k get settings.management ui-pl ui-brand
NAME VALUE
ui-pl
ui-brand
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.
the default value of ui-pl in Harvester is patched to "Harvester" in
for name, value := range UpdateRancherUISettings { |
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.
The UI currently uses this ui-pl default value "Harvester" to decide whether to display the bootstrap password box on the first login.
I will communicate with @WuJun2016 and create an issue to deal with the default value of ui-pl.
Associated UI pr and feature: #3396 |
@ibrokethecloud |
Signed-off-by: Frank Yang <poan.yang@suse.com>
Signed-off-by: futuretea <Hang.Yu@suse.com>
Add a patch commit to this PR, need review again. |
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.
thanks for the PR. LGTM.
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, thanks for continuing the PR.
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, thanks.
Solution:
Fix dashboard brand.
Related Issue:
#2679
Test plan:
rancher-manager-support
totrue
.rancher-manager-support
tofalse
.