mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
Forward Performance Standby requests when configuring root credentials for AWS, LDAP and DB engines (#30039)
This commit is contained in:
parent
c23c05fab9
commit
d16b0beee3
5 changed files with 29 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ func (b *backend) pathConfigClient() *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "client",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
logical.UpdateOperation: &framework.PathOperation{
|
||||
Callback: b.pathConfigClientCreateUpdate,
|
||||
|
|
@ -114,6 +116,8 @@ func (b *backend) pathConfigClient() *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "client",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
logical.DeleteOperation: &framework.PathOperation{
|
||||
Callback: b.pathConfigClientDelete,
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ func pathConfig(b *backend) *framework.Path {
|
|||
DisplayAttrs: &framework.DisplayAttributes{
|
||||
OperationVerb: "configure-auth",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,8 @@ func pathConfigRoot(b *backend) *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "root-iam-credentials",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
logical.CreateOperation: &framework.PathOperation{
|
||||
Callback: b.pathConfigRootWrite,
|
||||
|
|
@ -103,6 +105,8 @@ func pathConfigRoot(b *backend) *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "root-iam-credentials",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -288,6 +288,8 @@ func pathConfigurePluginConnection(b *databaseBackend) *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "connection",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
logical.UpdateOperation: &framework.PathOperation{
|
||||
Callback: b.connectionWriteHandler(),
|
||||
|
|
@ -295,6 +297,8 @@ func pathConfigurePluginConnection(b *databaseBackend) *framework.Path {
|
|||
OperationVerb: "configure",
|
||||
OperationSuffix: "connection",
|
||||
},
|
||||
ForwardPerformanceSecondary: true,
|
||||
ForwardPerformanceStandby: true,
|
||||
},
|
||||
logical.ReadOperation: &framework.PathOperation{
|
||||
Callback: b.connectionReadHandler(),
|
||||
|
|
|
|||
15
changelog/30039.txt
Normal file
15
changelog/30039.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
```release-note:bug
|
||||
secrets/aws: fix a panic when a performance standby node attempts to write/update config.
|
||||
```
|
||||
|
||||
```release-note:bug
|
||||
auth/aws: fix a panic when a performance standby node attempts to write/update config.
|
||||
```
|
||||
|
||||
```release-note:bug
|
||||
auth/ldap: fix a panic when a performance standby node attempts to write/update config.
|
||||
```
|
||||
|
||||
```release-note:bug
|
||||
secrets/db: fix a panic when a performance standby node attempts to write/update config.
|
||||
```
|
||||
Loading…
Reference in a new issue