Browse Source

oracle: Add Vault OCID to provider

Elad Gabay 4 years ago
parent
commit
f50438353e

+ 3 - 0
apis/externalsecrets/v1alpha1/secretstore_oracle_types.go

@@ -30,6 +30,9 @@ type OracleProvider struct {
 
 	// Region is the region where secret is located.
 	Region string `json:"region,omitempty"`
+
+	// Vault is the vault's OCID of the specific vault where secret is located.
+	Vault string `json:"vault,omitempty"`
 }
 
 type OracleAuth struct {

+ 4 - 0
deploy/crds/external-secrets.io_clustersecretstores.yaml

@@ -595,6 +595,10 @@ spec:
                       user:
                         description: User is an access OCID specific to the account.
                         type: string
+                      vault:
+                        description: Vault is the vault's OCID of the specific vault
+                          where secret is located.
+                        type: string
                     required:
                     - auth
                     type: object

+ 4 - 0
deploy/crds/external-secrets.io_secretstores.yaml

@@ -595,6 +595,10 @@ spec:
                       user:
                         description: User is an access OCID specific to the account.
                         type: string
+                      vault:
+                        description: Vault is the vault's OCID of the specific vault
+                          where secret is located.
+                        type: string
                     required:
                     - auth
                     type: object