Skip to content

Conversation

@christoph-jerolimov
Copy link
Member

Fixes:
https://issues.redhat.com/browse/ODC-4755 https://issues.redhat.com/browse/ODC-5189

Extracted this from PR #7327

Analysis / Root cause:
Based on the User Settings for OpenShift Console enhancement proposal we want to create a ConfigMap for each individual user in the namespace openshift-console-user-settings

Because we developers switches cluster more often then users, its could be helpful to extract the own user settings from a cluster and restore them on another cluster.

Solution Description:
Created two small scripts to get and set user settings on a cluster.

Requirements:

Usage:

./contrib/oc-get-user-settings.sh [username] [filename]

./contrib/oc-set-user-settings.sh [username] [filename]

Both commands can be called without any argument.

Default username is the current oc user (oc whoami)

Default filename is user-settings.yaml

Test setup:

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jerolimov
To complete the pull request process, please assign spadgett after the PR has been reviewed.
You can assign the PR to them by writing /assign @spadgett in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 22, 2020

@jerolimov: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/kubevirt-plugin cb25232 link /test kubevirt-plugin

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@christoph-jerolimov
Copy link
Member Author

We solved https://issues.redhat.com/browse/ODC-5189 in PR #7327

And with PR #7586 developers uses the localstorage automatically again, so we can close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants