mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
annotations added to nodepools page
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user