Open odockal opened 1 week ago
Bug description
I am getting error while trying to apply some changes like pvc name, when editing PVC in Kubernetes Pages.
Operating system
Windows 10
Installation Method
Installer from website/GitHub releases
Version
1.13.0
Steps to reproduce
- Create PVC, ie using yamls in https://github.com/odockal/podman-desktop-qe/tree/main/examples/kubernetes.
- Apply volume, claim and pod
- Check that pod is running which should be indicating that PVC was applied successfully
- Edit Volume Name in PVC
- Assert: Change is applied Actual:
Could not apply Kubernetes Yaml: Error data.io.ISOString is not a function
Relevant log output
No response
Additional context
This happens when I try to change pvc name. If I try to edit ie. Storage size, from 3 Gi to 4 Gi, it throws another error.
Looks to be normal, talked to @odockal on slack and editing the PVC once it's been bound, requires deleting and re-creating the PVC, I got this error:
Could not apply Kubernetes YAML: Error: HTTP-Code: 409
Message: Unsuccessful HTTP Request
Body: "{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"persistentvolumeclaims \\\"test123\\\" already exists\",\"reason\":\"AlreadyExists\",\"details\":{\"name\":\"test123\",\"kind\":\"persistentvolumeclaims\"},\"code\":409}\n"
Headers: {"audit-id":"436a190f-e590-493a-83b6-a0e765d3b36e","cache-control":"no-cache, private","connection":"close","content-length":"228","content-type":"application/json","date":"Thu, 10 Oct 2024 13:44:10 GMT","x-kubernetes-pf-flowschema-uid":"28c53efc-b64e-426e-a487-b56f33fbac71","x-kubernetes-pf-prioritylevel-uid":"3f6ea160-a281-426d-a279-a6dd9154d213"}
Unsure how Could not apply Kubernetes Yaml: Error data.io.ISOString is not a function
was brought up however when it was fixed, and was unable to reproduce.
Since I am missing some context how we can actually edit the kube yaml on the fly (no everything can be edited), I am lowering the severity.
I think it remembers me something about some fields managed by the kubernetes-client library that are date but the lib is not handling them well
from my memory I think it's about the creationTimestamp field that we delete so maybe it's another date field
Bug description
I am getting error while trying to apply some changes like pvc name, when editing PVC in Kubernetes Pages.
Operating system
Windows 10
Installation Method
Installer from website/GitHub releases
Version
1.13.0
Steps to reproduce
Could not apply Kubernetes Yaml: Error data.io.ISOString is not a function
Relevant log output
No response
Additional context
This happens when I try to change pvc name. If I try to edit ie. Storage size, from 3 Gi to 4 Gi, it throws another error.