-
Notifications
You must be signed in to change notification settings - Fork 45
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
salt: Use csc framework for UI configuration #3181
salt: Use csc framework for UI configuration #3181
Conversation
904782f
to
d870add
Compare
5bbb026
to
e6ab115
Compare
e6ab115
to
480e0d9
Compare
@bert-e after_pull_request=3154 |
480e0d9
to
df63277
Compare
06a5496
to
06e1b08
Compare
df63277
to
04a7330
Compare
Hello jbwatenbergscality,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following options are set: after_pull_request |
a269acb
to
824a204
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.
Mostly docs changes, and renaming for apiVersion
and kind
.
salt/metalk8s/addons/ui/config/metalk8s-shell-ui-config.yaml.j2
Outdated
Show resolved
Hide resolved
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: after_pull_request |
5181a5b
to
c7d42f6
Compare
6d621ec
to
f55efb7
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.
Some apiVersion/kind updates were not propagated
#!yaml | ||
|
||
# Defaults for configuration of MetalK8s UI | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
#!jinja|yaml | ||
|
||
# Defaults for shell UI configuration | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
namespace: metalk8s-ui | ||
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: Metalk8sUIConfig |
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.
kind: Metalk8sUIConfig | |
kind: UIConfig |
namespace: metalk8s-ui | ||
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
kind: ConfigMap | ||
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: Metalk8sShellUIConfig |
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.
kind: Metalk8sShellUIConfig | |
kind: ShellUIConfig |
kind: ConfigMap | ||
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com | ||
kind: Metalk8sUIConfig |
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.
kind: Metalk8sUIConfig | |
kind: UIConfig |
kind: ConfigMap | ||
data: | ||
config.yaml: |- | ||
apiVersion: addons.metalk8s.scality.com |
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.
apiVersion: addons.metalk8s.scality.com | |
apiVersion: addons.metalk8s.scality.com/v1alpha1 |
… create ui config map before its consumers
9ec3291
to
dc7625a
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.
Feel free to ignore if you have a green build, but if you don't and need to rebuild, please fix those headers :)
Changing the MetalK8s UI Ingress Path | ||
"""""""""""""""""""""""""""""""""""""""""""""""" |
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.
It's not "critical" but still a bit ugly 😜
Changing the MetalK8s UI Ingress Path | |
"""""""""""""""""""""""""""""""""""""""""""""""" | |
Changing the MetalK8s UI Ingress Path | |
""""""""""""""""""""""""""""""""""""" |
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.
I took care of it in #3196
MetalK8s UI Theme Customization | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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.
MetalK8s UI Theme Customization | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
MetalK8s UI Theme Customization | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
||
Once the theme is edited, apply your changes by running: | ||
|
||
|
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.
Extra empty line, to remove
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following options are set: after_pull_request |
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve, after_pull_request |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye jbwatenbergscality. |
Component:
'salt'
Context:
UI configuration can be patched in order to match a specific environment constraints.
Before this PR any upgrade of metalk8s would revert those patches.
Summary:
Introducing CSC framework for ui configuration management allows deploying upgrade using a configmap merge approach in order to avoid losing config patches.
Work in progress:
- [x] Add JSON support to CSC frameworkAcceptance criteria:
After an upgrade on a platform where UI configmap were patched, updated configmaps should preserved the overrides in place before the upgrade.
Closes: #3175