annotations added to nodepools page

This commit is contained in:
allanice001
2025-09-04 03:09:17 +01:00
parent d831e911fd
commit d83efa4068
9 changed files with 1737 additions and 585 deletions

View File

@@ -118,6 +118,11 @@ func RegisterRoutes(r chi.Router) {
np.Get("/{id}/labels", nodepools.ListNodePoolLabels)
np.Post("/{id}/labels", nodepools.AttachNodePoolLabels)
np.Delete("/{id}/labels/{labelId}", nodepools.DetachNodePoolLabel)
// annotations
np.Get("/{id}/annotations", nodepools.ListNodePoolAnnotations)
np.Post("/{id}/annotations", nodepools.AttachNodePoolAnnotations)
np.Delete("/{id}/annotations/{annotationId}", nodepools.DetachNodePoolAnnotation)
})
v1.Route("/taints", func(t chi.Router) {