openapi: Remove pcf plugin (#20067)

This commit is contained in:
Anton Averchenkov 2023-04-11 13:54:12 -04:00 committed by GitHub
parent 7e09f991a8
commit 30c3e70718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View File

@ -295,7 +295,6 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
for _, excluded := range []string{
"oidc", // alias for "jwt"
"openldap", // alias for "ldap"
"ad", // consolidated into "ldap" and deprecated
} {
if name == excluded {
return
@ -313,19 +312,23 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
t.Fatal(err)
}
for _, b := range scriptCredentialBackends {
ensureInRegistry(t, b, consts.PluginTypeCredential)
for _, name := range scriptCredentialBackends {
ensureInRegistry(t, name, consts.PluginTypeCredential)
}
for _, b := range scriptSecretsBackends {
ensureInRegistry(t, b, consts.PluginTypeSecrets)
for _, name := range scriptSecretsBackends {
ensureInRegistry(t, name, consts.PluginTypeSecrets)
}
for _, b := range Registry.Keys(consts.PluginTypeCredential) {
ensureInScript(t, scriptCredentialBackends, b)
for name, backend := range Registry.credentialBackends {
if backend.DeprecationStatus == consts.Supported {
ensureInScript(t, scriptCredentialBackends, name)
}
}
for _, b := range Registry.Keys(consts.PluginTypeSecrets) {
ensureInScript(t, scriptSecretsBackends, b)
for name, backend := range Registry.logicalBackends {
if backend.DeprecationStatus == consts.Supported {
ensureInScript(t, scriptSecretsBackends, name)
}
}
}

View File

@ -55,7 +55,6 @@ vault auth enable "kubernetes"
vault auth enable "ldap"
vault auth enable "oci"
vault auth enable "okta"
vault auth enable "pcf"
vault auth enable "radius"
vault auth enable "userpass"