lens icon indicating copy to clipboard operation
lens copied to clipboard

Editing ConfigMap doesn't work from details

Open jansav opened this issue 2 years ago • 3 comments

Describe the bug When trying to edit ConfigMap data in the details and then clicking save, it says that ConfigMap was updated, but it wasn't.

jansav avatar Jul 27 '22 10:07 jansav

worked ok for me, using the sample ConfigMap from the dock: '+' -> Create Resource -> Select Template -> ConfigMap

jim-docker avatar Jul 27 '22 11:07 jim-docker

worked ok for me, using the sample ConfigMap from the dock: '+' -> Create Resource -> Select Template -> ConfigMap

Indeed, seems to be working for that sample ConfigMap. Not with "real-one" though. Not sure how that ConfigMap was created. Can't post screenshot / video since it's certificate.

jansav avatar Jul 27 '22 11:07 jansav

lens can't edit/save empty config-maps and secrets for some reason

you need to edit it from kubectl edit first then you can modify it as you like from lens and add more items in the data map

it maybe related to the fact that when you try to edit an empty secret: lens show :

data: {}

but when I use kubectl, it doesn't show this line

anieo avatar Aug 09 '22 20:08 anieo

@jansav This issue may be related to https://github.com/lensapp/lens/issues/7295

yaroslav-metelev avatar May 19 '23 07:05 yaroslav-metelev