Skip to content

Commit

Permalink
allow setting vault TriggerAuthentication defaults via ENV variables
Browse files Browse the repository at this point in the history
  • Loading branch information
BojanZelic committed Nov 20, 2023
1 parent 397f444 commit cee6115
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 6 additions & 2 deletions apis/keda/v1alpha1/triggerauthentication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 0 additions & 2 deletions config/crd/bases/keda.sh_clustertriggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ spec:
type: object
type: array
required:
- address
- authentication
- secrets
type: object
podIdentity:
Expand Down
2 changes: 0 additions & 2 deletions config/crd/bases/keda.sh_triggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ spec:
type: object
type: array
required:
- address
- authentication
- secrets
type: object
podIdentity:
Expand Down

0 comments on commit cee6115

Please sign in to comment.