Make the Venafi Cloud URL field optional

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2020-02-03 18:18:38 +00:00
parent 33051b0c66
commit 5b9cd23d0f
6 changed files with 6 additions and 7 deletions

View File

@ -1625,7 +1625,6 @@ spec:
type: object
required:
- apiTokenSecretRef
- url
properties:
apiTokenSecretRef:
description: APITokenSecretRef is a secret key selector for

View File

@ -1625,7 +1625,6 @@ spec:
type: object
required:
- apiTokenSecretRef
- url
properties:
apiTokenSecretRef:
description: APITokenSecretRef is a secret key selector for

View File

@ -3489,7 +3489,6 @@ spec:
type: object
required:
- apiTokenSecretRef
- url
properties:
apiTokenSecretRef:
description: APITokenSecretRef is a secret key selector for
@ -5229,7 +5228,6 @@ spec:
type: object
required:
- apiTokenSecretRef
- url
properties:
apiTokenSecretRef:
description: APITokenSecretRef is a secret key selector for

View File

@ -140,7 +140,8 @@ type VenafiTPP struct {
// VenafiCloud defines connection configuration details for Venafi Cloud
type VenafiCloud struct {
// URL is the base URL for Venafi Cloud
URL string `json:"url"`
// +optional
URL string `json:"url,omitempty"`
// APITokenSecretRef is a secret key selector for the Venafi Cloud API token.
APITokenSecretRef cmmeta.SecretKeySelector `json:"apiTokenSecretRef"`

View File

@ -140,7 +140,8 @@ type VenafiTPP struct {
// VenafiCloud defines connection configuration details for Venafi Cloud
type VenafiCloud struct {
// URL is the base URL for Venafi Cloud
URL string `json:"url"`
// +optional
URL string `json:"url,omitempty"`
// APITokenSecretRef is a secret key selector for the Venafi Cloud API token.
APITokenSecretRef cmmeta.SecretKeySelector `json:"apiTokenSecretRef"`

View File

@ -128,7 +128,8 @@ type VenafiTPP struct {
// VenafiCloud defines connection configuration details for Venafi Cloud
type VenafiCloud struct {
// URL is the base URL for Venafi Cloud
URL string `json:"url"`
// +optional
URL string `json:"url,omitempty"`
// APITokenSecretRef is a secret key selector for the Venafi Cloud API token.
APITokenSecretRef cmmeta.SecretKeySelector `json:"apiTokenSecretRef"`