Adds ldap secrets to plugin registry and updates to v0.9.0 (#17152)

* Adds ldap secrets to plugin registry and updates to v0.9.0

* adds changelog

* fix test
This commit is contained in:
Austin Gebauer
2022-09-15 22:19:24 -07:00
committed by GitHub
parent 70278c2787
commit e1d67836e9
6 changed files with 15 additions and 9 deletions

View File

@@ -12,9 +12,10 @@ import (
"github.com/mitchellh/cli"
)
// logicalBackendAdjustmentFactor is set to 1 for the database backend
// which is a plugin but not found in go.mod files
var logicalBackendAdjustmentFactor = 1
// logicalBackendAdjustmentFactor is set to plus 1 for the database backend
// which is a plugin but not found in go.mod files, and minus 1 for the ldap
// and openldap secret backends which have the same underlying plugin.
var logicalBackendAdjustmentFactor = 1 - 1
func testSecretsEnableCommand(tb testing.TB) (*cli.MockUi, *SecretsEnableCommand) {
tb.Helper()