Skip to content

fix: allow UI-only binding flow without CLI-provided cluster identity#495

Merged
cnvergence merged 3 commits into
kbind-dev:mainfrom
cnvergence:fix-ui-binding-cluster-id
Mar 31, 2026
Merged

fix: allow UI-only binding flow without CLI-provided cluster identity#495
cnvergence merged 3 commits into
kbind-dev:mainfrom
cnvergence:fix-ui-binding-cluster-id

Conversation

@cnvergence

Copy link
Copy Markdown
Member

Summary

Removed the hard block when clusterIdentity is empty. In UI-only flow (no CLI), there's no consumer_id or session_id in the URL, so we send an empty string and let the backend derive identity from the authenticated session.

What Type of PR Is This?

/kind bug

Related Issue(s)

Fixes #494

Release Notes

Allowed UI-only binding flow without cluster identity from CLI.

@cnvergence cnvergence requested a review from a team as a code owner March 16, 2026 17:16
Comment thread web/src/views/Resources.vue Outdated
showAlertModal('Missing cluster identity. Please ensure you have authenticated properly.', 'Binding Failed', 'error')
return
}
// In UI-only flow, clusterIdentity may be empty - the backend will derive

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The concern would be what if CLI does not provide it and we fail as it an error.
maybe we have dedicated UI identity: ui-identity so we handle it separatly so its always required?

@mjudeikis

Copy link
Copy Markdown
Contributor

@cnvergence can we get this sorted? Would like to start getting these in for next release

@cnvergence

Copy link
Copy Markdown
Member Author

Right, let's split identities

Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

On-behalf-of: @SAP karol.szwaj@sap.com
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

On-behalf-of: @SAP karol.szwaj@sap.com
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com>

On-behalf-of: @SAP karol.szwaj@sap.com
@cnvergence cnvergence force-pushed the fix-ui-binding-cluster-id branch from 6ca10f2 to 64ef41b Compare March 30, 2026 14:13
@cnvergence cnvergence merged commit f51dbcf into kbind-dev:main Mar 31, 2026
7 checks passed
@cnvergence cnvergence deleted the fix-ui-binding-cluster-id branch March 31, 2026 08:36
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.

bug: missing cluster identity in UI flow

2 participants