meshery: [UI] Kubernetes contexts deleted, but not shown as deleted in UI.

Kubernetes contexts deleted, but not shown as deleted in UI.

Scenario: User connects to Kubernetes cluster. User visits Settings page. User clicks the “x” on the Kubernetes chip. The Kubernetes context is deleted with the Meshery Server output:

INFO[0436] retrieved user: {layer5   http://pbs.twimg.com/profile_images/1190059013544779776/mxxU_z_S_normal.jpg}
INFO[0436] attempting to fetch current kubernetes contexts from cloud
DEBU[0436] constructed kubernetes contexts url: https://meshery.layer5.io/user/contexts/e446a1ec-03a8-468e-b960-3b3f48102522/current
INFO[0436] kubernetes context successfully retrieved from remote provider
INFO[0436] attempting to delete kubernetes context from cloud for id: 9b3b4b515d256a0c000e85110a139ada
DEBU[0436] constructed kubernetes contexts url: https://meshery.layer5.io/user/contexts/e446a1ec-03a8-468e-b960-3b3f48102522/context/9b3b4b515d256a0c000e85110a139ada
INFO[0436] kubernetes successfully deleted from remote provider

But, chips remain in the UI: Screen Shot 2022-02-15 at 5 03 00 PM 2

Desired Behaviour The chip should get removed from the UI

_Originally posted by @leecalcote in https://github.com/meshery/meshery/pull/5076#issuecomment-1040872882_

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

Batter up, @RakeshPotnuru. Do be quick to remove assignment if this turns out to be too big of a challenge.

@a-muk Go Ahead!!