Commit Graph

10 Commits

Author SHA1 Message Date
loveuer
0536ce9755 feat: add delete functionality for namespace resources 2025-11-13 15:27:54 +08:00
loveuer
8ffb0eec09 fix: implement proper resource deletion for all resource types 2025-11-13 15:24:29 +08:00
loveuer
488c7b90bf fix: preserve Service spec fields including NodePort information 2025-11-13 14:49:18 +08:00
loveuer
a632f68c29 fix: ensure Kind and APIVersion are set in returned YAML 2025-11-13 14:43:19 +08:00
loveuer
c2bde4a0ff fix: improve resource field cleaning to prevent YAML parsing errors 2025-11-13 11:48:14 +08:00
loveuer
23add6447d fix: clean managedFields and metadata from resource YAML to prevent update conflicts 2025-11-13 11:40:36 +08:00
loveuer
529a90b80d feat: add resource edit functionality for k8s resources
- Add edit button for Deployment, StatefulSet, Service, and ConfigMap resources
- Implement resource fetch API to get YAML representation
- Implement resource update API to apply edited YAML
- Add edit dialog with YAML editor and apply/cancel buttons
- Add tooltip icons for better UX
- Restore K8sResourceApply function with HTTP/1.1 enforcement
- Support for fetching and updating the following resource kinds:
  - Deployment
  - StatefulSet
  - Service
  - ConfigMap

🤖 Generated with [Qoder][https://qoder.com]
2025-11-13 09:25:41 +08:00
loveuer
7d2e2ab842 feat: improve k8s resource filtering UI
- Change namespace filter from text input to dropdown select
- Add name filtering input for all resource types
- Fix UI overlap issue with namespace dropdown label
- Add automatic namespace list loading
- Implement server-side name filtering for all resources
- Support combined namespace + name filtering

🤖 Generated with [Qoder][https://qoder.com]
2025-11-12 23:26:52 +08:00
loveuer
54ed79cea3 feat: add pod logs and delete operations
- Add pod logs button with SSE streaming (WIP: SSE connection issues with HTTP/2)
- Add pod delete button with confirmation dialog
- Use existing resp.SSE package for log streaming
- Force HTTP/1.1 for k8s client to avoid stream closing issues
- Update frontend to handle pod actions and dialogs

🤖 Generated with [Qoder][https://qoder.com]
2025-11-12 23:05:32 +08:00
loveuer
db28bc0425 feat: add k8s cluster resource management module
- Add K8s module with kubeconfig storage in cluster_config table
- Implement resource list APIs for 8 kinds: namespace, deployment, statefulset, service, configmap, pod, pv, pvc
- Add K8sResourceList page with sidebar navigation and resource tables
- Support YAML upload/input dialog for resource creation via dynamic client
- Add kubeconfig settings drawer
- Increase main content width from lg to xl for better table display
- Add navigation link for cluster resources in top bar

🤖 Generated with [Qoder][https://qoder.com]
2025-11-12 21:06:14 +08:00