Skip to content

Commit

Permalink
fix: make authSecretName optional
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
  • Loading branch information
TylerGillson committed Nov 22, 2023
1 parent 2527569 commit f550342
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/validatorconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ type HelmRelease struct {
type HelmChart struct {
Name string `json:"name"`
Repository string `json:"repository"`
InsecureSkipTlsVerify bool `json:"insecureSkipVerify"`
AuthSecretName string `json:"authSecretName"`
Version string `json:"version"`
InsecureSkipTlsVerify bool `json:"insecureSkipVerify"`
AuthSecretName string `json:"authSecretName,omitempty"`
}

// ValidatorConfigStatus defines the observed state of ValidatorConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ spec:
properties:
chart:
properties:
authSecretName:
type: string
insecureSkipVerify:
type: boolean
name:
type: string
repository:
type: string
version:
type: string
required:
- insecureSkipVerify
- name
- repository
- version
Expand Down

0 comments on commit f550342

Please sign in to comment.