-
Notifications
You must be signed in to change notification settings - Fork 607
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
Dynamically generate che workspace factory URL in Topology after getting cheURL from ConsoleLink CR #2536
Dynamically generate che workspace factory URL in Topology after getting cheURL from ConsoleLink CR #2536
Conversation
/kind bug |
'app.openshift.io/vcs-ref': ref, | ||
'app.openshift.io/vcs-ref': gitRef || 'master', | ||
...(cheURL && { | ||
'app.openshift.io/edit-url': `${cheURL}/f?url=${gitURL}&policy.create=peruser`, |
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.
can we change policy.create
to policys.create
? To match eclipse-che/che#14355 ?
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.
Sure, will update the code.
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.
Done.
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.
thx
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.
That is policies
.
'app.openshift.io/vcs-ref': ref, | ||
'app.openshift.io/vcs-ref': gitRef || 'master', | ||
...(cheURL && { | ||
'app.openshift.io/edit-url': `${cheURL}/f?url=${gitURL}&policys.create=peruser`, |
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.
policys -> policies
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.
Updated. policys
is what you mentioned in your earlier comment.
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'm sorry. I was wrong. policies
is the correct query name
…ing cheURL from ConsoleLink CR
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
This PR -
ConsoleLink
CR which will be created byEclipse Che
Operator and will haveChe Dashboard
URL.ConsoleLink
we generate a Che Factory URL that will take the user through the workspace creation process.Che URL
dynamically addsEdit URL
on topology nodes.