Add config value that gives users options to skip calculating role for each lease (#22651) (#22730)

* Add config value that gives users options to skip calculating role for each lease

* add changelog

* change name

* add config for testing

* Update changelog/22651.txt



* update tests, docs and reorder logic in conditional

* fix comment

* update comment

* fix comment again

* Update comments and change if order

* change comment again

* add other comment

* fix tests

* add documentation

* edit docs

* Update http/util.go



* Update vault/core.go

* Update vault/core.go

* update var name

* udpate docs

* Update vault/request_handling.go



* 1 more docs change

---------

Co-authored-by: Ellie <ellie.sterner@hashicorp.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
Co-authored-by: Mike Palmiotto <mike.palmiotto@hashicorp.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-09-01 09:07:47 -04:00
committed by GitHub
parent e1895d80d4
commit 429c693e76
10 changed files with 40 additions and 4 deletions

View File

@@ -842,6 +842,7 @@ func testConfig_Sanitized(t *testing.T) {
"add_lease_metrics_namespace_labels": false,
},
"administrative_namespace_path": "admin/",
"imprecise_lease_role_tracking": false,
}
addExpectedEntSanitizedConfig(expected, []string{"http"})