fix API fields description for venafi tpp

Signed-off-by: Yuedong Wu <dwcn22@outlook.com>
This commit is contained in:
Yuedong Wu 2024-07-01 20:55:51 +08:00
parent 50abeda40d
commit df37eba376
4 changed files with 12 additions and 12 deletions

View File

@ -2365,9 +2365,9 @@ spec:
type: string
credentialsRef:
description: |-
CredentialsRef is a reference to a Secret containing the username and
password for the TPP server.
The secret must contain two keys, 'username' and 'password'.
CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.
The secret must contain the key 'access-token' for the Access Token Authentication,
or two keys, 'username' and 'password' for the API Keys Authentication.
type: object
required:
- name

View File

@ -2365,9 +2365,9 @@ spec:
type: string
credentialsRef:
description: |-
CredentialsRef is a reference to a Secret containing the username and
password for the TPP server.
The secret must contain two keys, 'username' and 'password'.
CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.
The secret must contain the key 'access-token' for the Access Token Authentication,
or two keys, 'username' and 'password' for the API Keys Authentication.
type: object
required:
- name

View File

@ -132,9 +132,9 @@ type VenafiTPP struct {
// for example: "https://tpp.example.com/vedsdk".
URL string
// CredentialsRef is a reference to a Secret containing the username and
// password for the TPP server.
// The secret must contain two keys, 'username' and 'password'.
// CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.
// The secret must contain the key 'access-token' for the Access Token Authentication,
// or two keys, 'username' and 'password' for the API Keys Authentication.
CredentialsRef cmmeta.LocalObjectReference
// Base64-encoded bundle of PEM CAs which will be used to validate the certificate

View File

@ -149,9 +149,9 @@ type VenafiTPP struct {
// for example: "https://tpp.example.com/vedsdk".
URL string `json:"url"`
// CredentialsRef is a reference to a Secret containing the username and
// password for the TPP server.
// The secret must contain two keys, 'username' and 'password'.
// CredentialsRef is a reference to a Secret containing the Venafi TPP API credentials.
// The secret must contain the key 'access-token' for the Access Token Authentication,
// or two keys, 'username' and 'password' for the API Keys Authentication.
CredentialsRef cmmeta.LocalObjectReference `json:"credentialsRef"`
// Base64-encoded bundle of PEM CAs which will be used to validate the certificate