Skip to content

Commit

Permalink
add json tags
Browse files Browse the repository at this point in the history
  • Loading branch information
elenz97 committed Jan 4, 2024
1 parent 14b5842 commit dde37cf
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions values/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@ import (
// Options captures the different ways to specify values
// +kubebuilder:object:generate:=true
type Options struct {
ValueFiles []string // -f/--values
StringValues []string // --set-string
Values []string // --set
FileValues []string // --set-file
JSONValues []string // --set-json
// -f/--values
ValueFiles []string `json:"valueFiles,omitempty"`
// --set-string
StringValues []string `json:"stringValues,omitempty"`
// --set
Values []string `json:"values,omitempty"`
// --set-file
FileValues []string `json:"fileValues,omitempty"`
// --set-json
JSONValues []string `json:"jsonValues,omitempty"`
}

// MergeValues merges values from files specified via -f/--values and directly
Expand Down

0 comments on commit dde37cf

Please sign in to comment.