Remove 'openldap' from gen_openapi.sh (#19401)

This commit is contained in:
Anton Averchenkov 2023-02-28 13:24:11 -05:00 committed by GitHub
parent 52bbf65ae7
commit bcc1d5d86d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -289,6 +289,11 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
ensureInScript := func(t *testing.T, scriptBackends []string, name string) {
t.Helper()
// "openldap" is an alias for "ldap" secrets engine
if name == "openldap" {
return
}
if !slices.Contains(scriptBackends, name) {
t.Fatalf("%q backend could not be found in gen_openapi.sh, please add it there", name)
}

View File

@ -21,7 +21,7 @@ then
fi
vault server -dev -dev-root-token-id=root &
sleep 2
sleep 5
VAULT_PID=$!
defer_stop_vault() {
@ -71,7 +71,6 @@ vault secrets enable "kv"
vault secrets enable "ldap"
vault secrets enable "mongodbatlas"
vault secrets enable "nomad"
vault secrets enable "openldap"
vault secrets enable "pki"
vault secrets enable "rabbitmq"
vault secrets enable "ssh"