Skip to content
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

Cannot get real configmap data, if configmap's data have same Key name. #7295

Closed
kyleli666 opened this issue Mar 7, 2023 · 20 comments
Closed
Assignees
Labels
area/ui bug Something isn't working p1
Milestone

Comments

@kyleli666
Copy link

kyleli666 commented Mar 7, 2023

Describe the bug
Cannot get real configmap content, if configmaps having same Key name.

To Reproduce
Steps to reproduce the behavior:

  1. create some configmaps with same key names but different value
    image

  2. Click on a configmap to see its data content

  3. Switch to another configmap to see that data content, but you'll see the content is still the first configmap's

Expected behavior
See the real content of the configmap I click on.

Environment (please complete the following information):

  • Lens Version: lens 2023.3.62352, extension api 6.4.3
  • OS: Windows
  • Installation method (e.g. snap or AppImage in Linux): windows installation
@kyleli666 kyleli666 added the bug Something isn't working label Mar 7, 2023
@kyleli666 kyleli666 changed the title Cannot get real configmap content, if configmaps having same Key name. Cannot get real configmap data, if configmap's data have same Key name. Mar 7, 2023
@Nokel81 Nokel81 added the area/ui label Mar 7, 2023
@Nokel81 Nokel81 added this to the 6.4.4 milestone Mar 7, 2023
@Nokel81 Nokel81 added the p1 label Mar 7, 2023
@Nokel81 Nokel81 modified the milestones: 6.4.4, 6.4.5 Mar 7, 2023
@Iku-turso Iku-turso modified the milestones: 6.4.5, 6.4.6 Mar 8, 2023
@jweak jweak modified the milestones: 6.4.6, 6.4.7 Mar 9, 2023
@jw-maynard
Copy link

Any timeline on this bug? It could be a dangerous bug if you were to save the wrong configmap back using the save button in the UI.

@UnleashSpirit
Copy link

Hello,
I confirm the bug, really disturbing as you don't see it the firsts times

@Noksa
Copy link

Noksa commented Mar 10, 2023

Encountered the same.
Does it work as expected in one of old versions? Or this bug exists in all versions?

@hardenchant
Copy link

hardenchant commented Mar 12, 2023

I confirm it too. Had a dumb moments with that bug :((

@kyleli666
Copy link
Author

Encountered the same. Does it work as expected in one of old versions? Or this bug exists in all versions?

It works in extension api 6.2.5

@plevart
Copy link

plevart commented Mar 16, 2023

I have already lost some important config data because of this bug. Very dangerous. I had to add comments to the top of the entries to remind me which content I'm actually observing. You have to close connection to k8s cluster and re-open it to flush the cache and get correct content. Please fix this. Thanks.

@plevart
Copy link

plevart commented Mar 16, 2023

Update: It seems that 6.5.0-alpha.3 fixes this. No mention in the CHANGES files though.

@aleksfront aleksfront modified the milestones: 6.4.7, 6.4.8 Mar 17, 2023
@Nokel81 Nokel81 modified the milestones: 6.4.8, 6.4.9, 6.4.10, 6.4.11 Mar 22, 2023
@philbert101
Copy link

config map bug 6.4.3 GUI property not matches yaml file

@Iku-turso Iku-turso modified the milestones: 6.4.11, 6.4.12 Mar 27, 2023
@tomer-ds
Copy link

Big +1!!!! Very disturbing and dangerous
👍🏼

@Noksa
Copy link

Noksa commented Mar 28, 2023

In the name of all that's holy, why hasn't this been fixed yet?

@tomer-ds
Copy link

There is clearly an alpha with a fix... just hoping beyond hope that it is released quickly

@kukkjanos
Copy link

This is a serious error that would be treated as a high priority.

@aleksfront
Copy link
Contributor

Until bugfix created: there is a workaround using page reload cmd+r to clear up stale values. Also, it relates to details panel:

  • if the details open, then toggling between the config-maps displays the correct information
  • if the details closed in-between viewing the config-maps, that we are "stuck" in the last shown ConfigMap even on latest version (6.5.0)
config.maps.stale.data.mov

@Iku-turso Iku-turso modified the milestones: 6.4.12, 6.4.13 Mar 31, 2023
@Nokel81 Nokel81 removed this from the 6.4.13 milestone Apr 3, 2023
@plevart
Copy link

plevart commented Apr 6, 2023

So this bug is not important to you and so it was removed from further milestones?

I'm trying to use 6.5alpha3, but it keeps self-updating back to 6.4.xx releases each time I restart the app. Very painful. Is it possible to stop this nonsense? 6.5 should not auto-downgrade to 6.4 regardless of release status. Please!

@kyleli666
Copy link
Author

@plevart you can set the update channel to Alpha in preference.
image
Even 6.5alpha3 still sometimes has bug in this issue, and I also found the pod log view is not stable.

@panuhorsmalahti
Copy link
Contributor

Reproduced on 2023.4.141316-latest

@panuhorsmalahti
Copy link
Contributor

I couldn't reproduce this on 6.5.0-alpha.6.

@aleksfront
Copy link
Contributor

@kyleli666 Can you elaborate pod log view is not stable?

@panuhorsmalahti panuhorsmalahti added this to the 6.5.0 milestone Apr 17, 2023
@kyleli666
Copy link
Author

Hi @aleksfront
In 6.5.0-alpha.3, the pod log view is usually visible, but when looking through the logs this screen flashes out from time to time.
image

@panuhorsmalahti
Copy link
Contributor

Closing this issue, lets re-open if it occurs on a Lens release with 6.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui bug Something isn't working p1
Projects
None yet
Development

No branches or pull requests