Merge BYOW GA branch to main (#2398)
* feat(workers): Add ability to read and reinitialize cert authority (#2312) * feat(workers): Return Release Version on worker list and read (#2377) * feat(cli): Read and reinitialize worker certificate authority (#2387)
This commit is contained in:
1 parent
cee5ff7599
commit
18dff62b7b
50 files changed
+2401
-462
No files matched your search
@@ -352,7 +352,7 @@ func New(ctx context.Context, conf *Config) (*Controller, error) {
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to instantiate worker auth repository: %w", err)
|
||||
}
|
||||
err = server.RotateRoots(ctx, serversRepo)
|
||||
_, err = server.RotateRoots(ctx, serversRepo)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to ensure worker auth roots exist: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user