Merge pull request #2568 from munnerz/venafi-cloud-optional-url

Make the Venafi Cloud URL field optional
This commit is contained in:
jetstack-bot 2020-02-06 15:48:10 +00:00 committed by GitHub
commit 94bc5f60f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -120,7 +120,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
// +optional
URL string `json:"url,omitempty"`
// APITokenSecretRef is a secret key selector for the Venafi Cloud API token.
APITokenSecretRef cmmeta.SecretKeySelector