Browse Source

oracle: Fix provider fields docs

Elad Gabay 4 years ago
parent
commit
137ce182c1

+ 4 - 4
apis/externalsecrets/v1alpha1/secretstore_oracle_types.go

@@ -25,10 +25,10 @@ type OracleProvider struct {
 	// User is an access OCID specific to the account.
 	User string `json:"user,omitempty"`
 
-	// projectID is an access token specific to the secret.
+	// Tenancy is the tenancy OCID where secret is located.
 	Tenancy string `json:"tenancy,omitempty"`
 
-	// projectID is an access token specific to the secret.
+	// Region is the region where secret is located.
 	Region string `json:"region,omitempty"`
 }
 
@@ -38,9 +38,9 @@ type OracleAuth struct {
 }
 
 type OracleSecretRef struct {
-	// The Access Token is used for authentication
+	// PrivateKey is the user's API Signing Key in PEM format, used for authentication.
 	PrivateKey esmeta.SecretKeySelector `json:"privatekey,omitempty"`
 
-	// projectID is an access token specific to the secret.
+	// Fingerprint is the fingerprint of the API private key.
 	Fingerprint esmeta.SecretKeySelector `json:"fingerprint,omitempty"`
 }

+ 6 - 7
deploy/crds/external-secrets.io_clustersecretstores.yaml

@@ -541,8 +541,8 @@ spec:
                             description: SecretRef to pass through sensitive information.
                             properties:
                               fingerprint:
-                                description: projectID is an access token specific
-                                  to the secret.
+                                description: Fingerprint is the fingerprint of the
+                                  API private key.
                                 properties:
                                   key:
                                     description: The key of the entry in the Secret
@@ -562,7 +562,8 @@ spec:
                                     type: string
                                 type: object
                               privatekey:
-                                description: The Access Token is used for authentication
+                                description: PrivateKey is the user's API Signing
+                                  Key in PEM format, used for authentication.
                                 properties:
                                   key:
                                     description: The key of the entry in the Secret
@@ -586,12 +587,10 @@ spec:
                         - secretRef
                         type: object
                       region:
-                        description: projectID is an access token specific to the
-                          secret.
+                        description: Region is the region where secret is located.
                         type: string
                       tenancy:
-                        description: projectID is an access token specific to the
-                          secret.
+                        description: Tenancy is the tenancy OCID where secret is located.
                         type: string
                       user:
                         description: User is an access OCID specific to the account.

+ 6 - 7
deploy/crds/external-secrets.io_secretstores.yaml

@@ -541,8 +541,8 @@ spec:
                             description: SecretRef to pass through sensitive information.
                             properties:
                               fingerprint:
-                                description: projectID is an access token specific
-                                  to the secret.
+                                description: Fingerprint is the fingerprint of the
+                                  API private key.
                                 properties:
                                   key:
                                     description: The key of the entry in the Secret
@@ -562,7 +562,8 @@ spec:
                                     type: string
                                 type: object
                               privatekey:
-                                description: The Access Token is used for authentication
+                                description: PrivateKey is the user's API Signing
+                                  Key in PEM format, used for authentication.
                                 properties:
                                   key:
                                     description: The key of the entry in the Secret
@@ -586,12 +587,10 @@ spec:
                         - secretRef
                         type: object
                       region:
-                        description: projectID is an access token specific to the
-                          secret.
+                        description: Region is the region where secret is located.
                         type: string
                       tenancy:
-                        description: projectID is an access token specific to the
-                          secret.
+                        description: Tenancy is the tenancy OCID where secret is located.
                         type: string
                       user:
                         description: User is an access OCID specific to the account.