Skip to content

Add new registration-service config param for ui canary deployement #1174

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

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_toolchainconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,19 @@ spec:
use for the registration service deployment
format: int32
type: integer
uiCanaryDeploymentWeight:
description: |-
UICanaryDeploymentWeight specifies the threshold of users that will be using the new UI.
This configuration option is just a temporary solution for rolling out our new RHDH based UI using canary deployment strategy.
Once we switch all our users to the new UI this will be removed.
How this works:
- backend returns a weight
- old UI assigns a sticky random number for each user
- if the user has a number within the weight returned from the backend than user get's redirect to new UI
- if the user has a number above the weight they keep using the current UI
maximum: 100
minimum: 0
type: integer
verification:
description: Keeps parameters necessary for the registration
service verification config
Expand Down
Loading