This project is mirrored from https://gitee.com/NQL886/vault.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 19 Feb, 2021 4 commits
  2. 18 Feb, 2021 4 commits
    • Hridoy Roy's avatar
      Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) · d04b88d9
      Hridoy Roy authored
      This reverts commit eb74ca61.
      d04b88d9
    • Hridoy Roy's avatar
      Vault Dependency Upgrades [VAULT-871] (#10903) · eb74ca61
      Hridoy Roy authored
      * upgrade vault dependency set
      
      * etcd and grpc issues:
      
      * better for tests
      
      * testing
      
      * all upgrades for hashicorp deps
      
      * kubernetes plugin upgrade seems to work
      
      * kubernetes plugin upgrade seems to work
      
      * etcd and a bunch of other stuff
      
      * all vulnerable packages upgraded
      
      * k8s is broken in linux env but not locally
      
      * test fixes
      
      * fix testing
      
      * fix etcd and grpc
      
      * fix etcd and grpc
      
      * use master branch of go-testing-interface
      
      * roll back etcd upgrade
      
      * have to fix grpc since other vendors pull in grpc 1.35.0 but we cant due to etcd
      
      * rolling back in the replace directives
      
      * a few more testing dependencies to clean up
      
      * fix go mod vendor
      eb74ca61
    • Nick Cabatoff's avatar
      Add docs for Agent's template_retry option added in #10644, based on those... · 3cc659ac
      Nick Cabatoff authored
      Add docs for Agent's template_retry option added in #10644, based on those from consul-template configuration.  Also fix some existing config docs that weren't adhering to our conventions. (#10911)
      
      3cc659ac
    • Angel Garbarino's avatar
      UI Database Secrets Engine (MongoDB) (#10655) · 4be76bf7
      Angel Garbarino authored
      * move the ttls on enable for db to default and not as options
      
      * refactor form field to angle brackets
      
      * add database to supported backend
      
      * initial setup of components and models
      
      * setup selectable cards, need to make own component
      
      * styling setup
      
      * subtext and links
      
      * number styling
      
      * search select put in place and button, all pretty things
      
      * search label text
      
      * messy but closer to data configuration. making models and fetching those models on routes
      
      * connection adapter and serializer that is pulled in by the overview route
      
      * clean up and add new model params connections and roles to overview route hbs
      
      * setting up overview as route with SecretHeader component.  TODO, show Overview tab, but have link to route.  It's going be on the secret header list component
      
      * setup overview tab on secret-list-header to go to overview page
      
      * setup id in overview route
      
      * Correct link on secrets engine list for database and ot...
      4be76bf7
  3. 17 Feb, 2021 4 commits
    • Michael Golowka's avatar
      2c671147
    • swayne275's avatar
      Vault-1403 Switch Expiration Manager to use Fairsharing Backpressure (#1709) (#10932) · 3736e308
      swayne275 authored
      
      * basic pool and start testing
      
      * refactor a bit for testing
      
      * workFunc, start/stop safety, testing
      
      * cleanup function for worker quit, more tests
      
      * redo public/private members
      
      * improve tests, export types, switch uuid package
      
      * fix loop capture bug, cleanup
      
      * cleanup tests
      
      * update worker pool file name, other improvements
      
      * add job manager prototype
      
      * remove remnants
      
      * add functions to wait for job manager and worker pool to stop, other fixes
      
      * test job manager functionality, fix bugs
      
      * encapsulate how jobs are distributed to workers
      
      * make worker job channel read only
      
      * add job interface, more testing, fixes
      
      * set name for dispatcher
      
      * fix test races
      
      * wire up expiration manager most of the way
      
      * dispatcher and job manager constructors don't return errors
      
      * logger now dependency injected
      
      * make some members private, test fcn to get worker pool size
      
      * make GetNumWorkers public
      
      * Update helper/fairshare/jobmanager_test.go
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      
      * update fairsharing usage, add tests
      
      * make workerpool private
      
      * remove custom worker names
      
      * concurrency improvements
      
      * remove worker pool cleanup function
      
      * remove cleanup func from job manager, remove non blocking stop from fairshare
      
      * update job manager for new constructor
      
      * stop job manager when expiration manager stopped
      
      * unset env var after test
      
      * stop fairshare when started in tests
      
      * stop leaking job manager goroutine
      
      * prototype channel for waking up to assign work
      
      * fix typo/bug and add tests
      
      * improve job manager wake up, fix test typo
      
      * put channel drain back
      
      * better start/pause test for job manager
      
      * comment cleanup
      
      * degrade possible noisy log
      
      * remove closure, clean up context
      
      * improve revocation context timer
      
      * test: reduce number of revocation workers during many tests
      
      * Update vault/expiration.go
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      
      * feedback tweaks
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      3736e308
    • Brian Fox's avatar
      Update KV Secrets Engine index (#10933) · bc8bdb2e
      Brian Fox authored
      Just a suggestion on how to perhaps improve the language as I found myself re-reading the sentences due to the missing "either ... or ..." having been _told_ that it `can be run in two modes`.
      bc8bdb2e
    • Austin Gebauer's avatar
      d69a12c7
  4. 16 Feb, 2021 2 commits
  5. 13 Feb, 2021 1 commit
  6. 12 Feb, 2021 4 commits
    • swayne275's avatar
      VAULT-1401 and 1402 - preliminary fair sharing (#1701) (#10917) · 111a66ca
      swayne275 authored
      
      * basic pool and start testing
      
      * refactor a bit for testing
      
      * workFunc, start/stop safety, testing
      
      * cleanup function for worker quit, more tests
      
      * redo public/private members
      
      * improve tests, export types, switch uuid package
      
      * fix loop capture bug, cleanup
      
      * cleanup tests
      
      * update worker pool file name, other improvements
      
      * add job manager prototype
      
      * remove remnants
      
      * add functions to wait for job manager and worker pool to stop, other fixes
      
      * test job manager functionality, fix bugs
      
      * encapsulate how jobs are distributed to workers
      
      * make worker job channel read only
      
      * add job interface, more testing, fixes
      
      * set name for dispatcher
      
      * fix test races
      
      * dispatcher and job manager constructors don't return errors
      
      * logger now dependency injected
      
      * make some members private, test fcn to get worker pool size
      
      * make GetNumWorkers public
      
      * Update helper/fairshare/jobmanager_test.go
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      
      * make workerpool private
      
      * remove custom worker names
      
      * concurrency improvements
      
      * remove worker pool cleanup function
      
      * remove cleanup func from job manager, remove non blocking stop from fairshare
      
      * stop fairshare when started in tests
      
      * stop leaking job manager goroutine
      
      * prototype channel for waking up to assign work
      
      * fix typo/bug and add tests
      
      * improve job manager wake up, fix test typo
      
      * put channel drain back
      
      * better start/pause test for job manager
      
      * go mod vendor
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      Co-authored-by: default avatarBrian Kassouf <briankassouf@users.noreply.github.com>
      111a66ca
    • swayne275's avatar
      Shutdown Test Cores when Tests Complete (#10912) · 8e1ca212
      swayne275 authored
      * Shutdown Test Cores when Tests Complete
      
      * go mod vendor
      8e1ca212
    • Jim Kalafut's avatar
      Improve error messages (#10843) · e95086ba
      Jim Kalafut authored
      - Fix: "bytes" should be less than %!s(int=131072) message
      - Also add a missing openapi type that was throwing warnings
      e95086ba
    • Mark Gritter's avatar
      Added a table showing the entity alias name used by each auth method. (#10908) · c44b60db
      Mark Gritter authored
      * Also corrected the text about token auth method.
      c44b60db
  7. 11 Feb, 2021 8 commits
  8. 10 Feb, 2021 6 commits
  9. 09 Feb, 2021 7 commits