Przeglądaj źródła

Update vault capabilities to ReadWrite

Signed-off-by: Adrienne Galloway <adrienne.galloway@engineerbetter.com>
Co-authored-by: Dominic Meddick <dom.meddick@engineerbetter.com>
Co-authored-by: Dipo Ajayi <ajayidipo@ymail.com>
Co-authored-by: William Young <will.young@engineerbetter.com>
Co-authored-by: Amr Fawzy <amr.fawzy@container-solutions.com>
Adrienne Galloway 4 lat temu
rodzic
commit
7eb12a8bf2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pkg/provider/vault/vault.go

+ 1 - 1
pkg/provider/vault/vault.go

@@ -226,7 +226,7 @@ type connector struct {
 
 
 // Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).
 // Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).
 func (c *connector) Capabilities() esv1beta1.SecretStoreCapabilities {
 func (c *connector) Capabilities() esv1beta1.SecretStoreCapabilities {
-	return esv1beta1.SecretStoreReadOnly
+	return esv1beta1.SecretStoreReadWrite
 }
 }
 
 
 func (c *connector) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error) {
 func (c *connector) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error) {