Nikolay Edigaryev
688238837a
Implement server-side filtering for VMs by worker ( #392 )
...
* Implement server-side filtering for VMs by worker
* Parse more than one filter but error out when more than one is provided
* Fix off-by-one
* No need to use "\n" in Debugf()
2026-01-29 17:52:24 +01:00
Nikolay Edigaryev
cd9794197b
API: update service account fields on PUT ( #198 )
...
* API: update service account fields on PUT
* Disable G115 integer overflow linter of gosec
2024-08-21 20:03:52 +04:00
Nikolay Edigaryev
8c62df0eba
Only allow simple names when creating workers, VMs, etc. and escape paths in API client ( #129 )
...
* Controller: only allow simple names when creating workers, VMs, etc.
* Client: escape paths
* simplename: allow ':' character
2023-09-22 14:51:43 -04:00
Nikolay Edigaryev
036eb954be
Retry DB transactions on badger.ErrConflict ( #114 )
...
* Log HTTP 500 errors in more detail
* Log errors in storeView and storeUpdate
* Retry on badger.ErrConflict
2023-08-15 15:18:47 +04:00
Nikolay Edigaryev
357a042937
REST API: provide error messages in error responses ( #66 )
...
* REST API: provide error messages in error responses
* Fix role checking logic and add tests
* Ignore testpackage linter error
* Rename NewError() to NewErrorResponse()
2023-03-27 14:12:03 -04:00
Nikolay Edigaryev
7647ccdc10
Remove Generation field ( #57 )
2023-03-24 17:23:07 +00:00
Fedor Korotkov
362ea85b4f
Always require a client for running a worker ( #52 )
...
* Always require a client for running a worker
* Actually validate roles
* Delete worker
Fixes #46
* Update internal/worker/worker.go
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
---------
Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com>
2023-03-24 17:44:20 +04:00
Nikolay Edigaryev
af074f499d
Remove UID for now and use machine ID to differentiate workers ( #48 )
...
* Remove UID for now and use machine ID to differentiate workers
* Rename MetadataWorkerKey back to MetadataWorkerNameKey
2023-03-23 23:38:54 +04:00
Fedor Korotkov
165662bb0a
Better state syncing and other improvements ( #24 )
2023-03-01 11:42:16 -05:00
Nikolay Edigaryev
8df31f7c2d
Introduce service accounts and bootstrap tokens ( #22 )
2023-02-21 11:34:12 -05:00