Backport of Update hashicorp/vault-plugin-secrets-kubernetes to v0.6.0 into release/1.15.x (#22827)

* Update hashicorp/vault-plugin-secrets-kubernetes to v0.6.0 (#22823)

* fix typo

* gofumpt fix

---------

Co-authored-by: hc-github-team-secure-vault-ecosystem <hc-github-team-secure-vault-ecosystem@users.noreply.github.com>
Co-authored-by: robmonte <17119716+robmonte@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-09-06 21:53:43 -04:00
committed by GitHub
parent e2854b3c61
commit ee850b4ecf
5 changed files with 11 additions and 6 deletions

3
changelog/22823.txt Normal file
View File

@@ -0,0 +1,3 @@
```release-note:change
secrets/kubernetes: Update plugin to v0.6.0
```

2
go.mod
View File

@@ -146,8 +146,8 @@ require (
github.com/hashicorp/vault-plugin-secrets-azure v0.16.3
github.com/hashicorp/vault-plugin-secrets-gcp v0.17.0
github.com/hashicorp/vault-plugin-secrets-gcpkms v0.15.1
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.5.0
github.com/hashicorp/vault-plugin-secrets-kv v0.16.1
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.6.0
github.com/hashicorp/vault-plugin-secrets-mongodbatlas v0.10.1
github.com/hashicorp/vault-plugin-secrets-openldap v0.11.2
github.com/hashicorp/vault-plugin-secrets-terraform v0.7.1

4
go.sum
View File

@@ -2160,10 +2160,10 @@ github.com/hashicorp/vault-plugin-secrets-gcp v0.17.0 h1:Z7IqtShXD8uDzLfKskk8rt8
github.com/hashicorp/vault-plugin-secrets-gcp v0.17.0/go.mod h1:VRSCqW/rYThWK/bmBiBKI1dKOg383xnedA/G9ghJrug=
github.com/hashicorp/vault-plugin-secrets-gcpkms v0.15.1 h1:qUFOjiz5+wgZsRpOF0hCFeot9vZEyhqfJ4w/UFJAjfc=
github.com/hashicorp/vault-plugin-secrets-gcpkms v0.15.1/go.mod h1:QG4LU5GIBXo1pqnfJXXwOe05PJSyhBh2p+mAq06iI8U=
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.5.0 h1:g0W1ybHjO945jDtuDEFcqTINyW/s06wxZarE/7aLumc=
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.5.0/go.mod h1:2wobeIypBESGQYmhv12vuAorCvfETHpBoMyrb+6QTmQ=
github.com/hashicorp/vault-plugin-secrets-kv v0.16.1 h1:Giy/sj9O9BYdZbNsAkYvNmns5KikZI5RsFb4bBPFXds=
github.com/hashicorp/vault-plugin-secrets-kv v0.16.1/go.mod h1:oJwVConr6pkDIIO8q8OO3FP5WtWj/iSWuhiPVdKt67E=
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.6.0 h1:DePS4sSAbjYTQrpTPrqZLFMw9aFHsqqqhktBcVjhjzw=
github.com/hashicorp/vault-plugin-secrets-kubernetes v0.6.0/go.mod h1:4nPWdBQxjIEGZaWWPKHixN7MFHjESOlOtNyy02e/w9c=
github.com/hashicorp/vault-plugin-secrets-mongodbatlas v0.10.1 h1:6WyystBBEx1bDpkZO99wI3RbNvhUTVR6/ihHDeZMsPw=
github.com/hashicorp/vault-plugin-secrets-mongodbatlas v0.10.1/go.mod h1:OdXvez+GH0XBSRS7gxbS8B1rLUPb8bGk+bDVyEaAzI8=
github.com/hashicorp/vault-plugin-secrets-openldap v0.11.2 h1:LNzIP4zfWivAy/hgCIwETJFr7BBS91bsJ6AlsGhqAc8=

View File

@@ -291,8 +291,10 @@ func (a *access) AllSealWrappersHealthy() bool {
return len(a.wrappersByPriority) == len(a.filterSealWrappers(enabledAndDisabled, healthyOnly))
}
type enabledFilter bool
type healthyFilter bool
type (
enabledFilter bool
healthyFilter bool
)
const (
enabledOnly = enabledFilter(true)

View File

@@ -24,7 +24,7 @@
to be used for the client certificate common name.
- `ca_cert` `(string: "")` - The PEM-encoded CA certificate.
- `ca_private_key` `(string: "")` - The PEM-encoded private key for the given `ca_cert`.
- `key_type` `(string: <required>")` - Specifies the desired key type. Options include:
- `key_type` `(string: <required>)` - Specifies the desired key type. Options include:
`rsa`, `ed25519`, `ec`.
- `key_bits` `(int: 2048)` - Number of bits to use for the generated keys. Options include:
`2048` (default), `3072`, `4096`; with `key_type=ec`, allowed values are: `224`, `256` (default),