Skip to content

Error when applying Kubernetes resource changes via kube tab: "data.toISOString is not a function" #9260

@amisskii

Description

@amisskii

Bug description

When trying to edit Kubernetes YAML through the kube tab in the Kubernetes resource details page, an error occurs preventing the changes from being applied. The following error message is displayed:
Could not apply Kubernetes YAML: Error: data.toISOString is not a function

Image

Operating system

Fedora 40

Installation Method

None

Version

next (development version)

Steps to reproduce

  • Create a Kubernetes cluster.
  • Create any Kubernetes resource (e.g., a Pod, Deployment, Service, etc.).
  • Navigate to the Kubernetes resource details page for the created resource.
  • Click on the kube tab to view the YAML configuration.
  • Make changes to the Kubernetes YAML.
  • Click on the Apply Changes button.
  • Observe the error: Could not apply Kubernetes YAML: Error: data.toISOString is not a function.

Relevant log output

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions