diff --git a/apis/keda/v1alpha1/triggerauthentication_types.go b/apis/keda/v1alpha1/triggerauthentication_types.go index 9483abedb6b..8f6447bb518 100644 --- a/apis/keda/v1alpha1/triggerauthentication_types.go +++ b/apis/keda/v1alpha1/triggerauthentication_types.go @@ -170,9 +170,13 @@ type AuthEnvironment struct { // HashiCorpVault is used to authenticate using Hashicorp Vault type HashiCorpVault struct { - Address string `json:"address"` + Secrets []VaultSecret `json:"secrets"` + + // +optional + Address string `json:"address"` + + // +optional Authentication VaultAuthentication `json:"authentication"` - Secrets []VaultSecret `json:"secrets"` // +optional Namespace string `json:"namespace,omitempty"` diff --git a/config/crd/bases/keda.sh_clustertriggerauthentications.yaml b/config/crd/bases/keda.sh_clustertriggerauthentications.yaml index cc9cacc688f..1e96dfd9fe5 100644 --- a/config/crd/bases/keda.sh_clustertriggerauthentications.yaml +++ b/config/crd/bases/keda.sh_clustertriggerauthentications.yaml @@ -233,8 +233,6 @@ spec: type: object type: array required: - - address - - authentication - secrets type: object podIdentity: diff --git a/config/crd/bases/keda.sh_triggerauthentications.yaml b/config/crd/bases/keda.sh_triggerauthentications.yaml index 6589a44301b..a89265dbfd7 100644 --- a/config/crd/bases/keda.sh_triggerauthentications.yaml +++ b/config/crd/bases/keda.sh_triggerauthentications.yaml @@ -232,8 +232,6 @@ spec: type: object type: array required: - - address - - authentication - secrets type: object podIdentity: