Skip to content

Cannot edit Secrets/Configmap values unencoded, transparently in json files or yaml files with quoted values #854

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

Closed
adietish opened this issue Mar 4, 2025 · 1 comment · Fixed by #853
Assignees
Milestone

Comments

@adietish
Copy link
Collaborator

adietish commented Mar 4, 2025

follows up on #663
related to #852

Steps:

  1. EXEC: open a new editor with the following content:
{
  "apiVersion": "v1",
  "kind": "Secret",
  "metadata": {
    "annotations": {},
    "name": "mytest34e"
  },
  "data": {
    "a": "dGVzdA==",
    "b": "dGVzdA=="
  }
}

Result:
It doesn't display inlay hint for "a" and "b". I thus cannot edit those values unencoded/transparently

Expected result:
The editor should display inlay hint for "a" and "b"..

Same is true for the following yaml with quoted values:

apiVersion: v1
kind: Secret
metadata:
  name: my-secret
type: Opaque
data:
  string-value: "b2Jpd2Fu"
@adietish adietish self-assigned this Mar 4, 2025
@adietish adietish added this to the 1.6.0 milestone Mar 4, 2025
@adietish adietish moved this to 📝 In Progress in IDE Cloudaptors Mar 4, 2025
@adietish adietish changed the title Cannot edit Secrets/Configmap values unencoded, transparently in json files Cannot edit Secrets/Configmap values unencoded, transparently in json files or yaml files with quoted values Mar 4, 2025
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 4, 2025
…developer#854)

* fixed: base64 encoded values in json
* fixed: quoted base64 values in json/yaml
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 4, 2025
* fixed: base64 encoded values in json
* fixed: Secret & ConfigMap are recognized if kind value is quoted
("Service", "ConfigMap")
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 4, 2025
* fixed: base64 encoded values in json
* fixed: Secret & ConfigMap are recognized if kind value is quoted
("Service", "ConfigMap")
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 4, 2025
@adietish
Copy link
Collaborator Author

adietish commented Mar 4, 2025

this is fixed with a separate commit in PR #853

@adietish adietish moved this from 📝 In Progress to 📋 Backlog in IDE Cloudaptors Mar 5, 2025
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 6, 2025
adietish added a commit to adietish/intellij-kubernetes that referenced this issue Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant