Skip to content

Commit

Permalink
Add valuesFiles in features
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Apr 2, 2024
1 parent a89921d commit 82e9e96
Show file tree
Hide file tree
Showing 13 changed files with 545 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ require (
kmodules.xyz/custom-resources v0.29.1
kmodules.xyz/go-containerregistry v0.0.12
kmodules.xyz/monitoring-agent-api v0.29.0
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c
kmodules.xyz/resource-metadata v0.18.3-0.20240402210829-0281d42296ee
kmodules.xyz/resource-metrics v0.29.1
kmodules.xyz/sets v0.29.0
kubeops.dev/falco-ui-server v0.0.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3490,8 +3490,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9
kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI=
kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY=
kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw=
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c h1:t8O0JMSFsBZNdAWWRsti0gyHV3GguALyW97mVuUUO+k=
kmodules.xyz/resource-metadata v0.18.3-0.20240402160934-9a75105ebc2c/go.mod h1:BpiDz1s/0reTAvG1IgQgFGXTTgqS6TRf0VEGk5Z4tO4=
kmodules.xyz/resource-metadata v0.18.3-0.20240402210829-0281d42296ee h1:jognS417JkwdcLHVm30Fb1twKPyUNDUME/ff26iyuJs=
kmodules.xyz/resource-metadata v0.18.3-0.20240402210829-0281d42296ee/go.mod h1:BpiDz1s/0reTAvG1IgQgFGXTTgqS6TRf0VEGk5Z4tO4=
kmodules.xyz/resource-metrics v0.29.1 h1:gP4SNosdDGFImpne52mnQtHacmnllYkTMcYL//p/ltM=
kmodules.xyz/resource-metrics v0.29.1/go.mod h1:OuG/QobZ7o8GFHl/u3lqaUR0fDZDegxtV8Vdh+MNBD4=
kmodules.xyz/sets v0.29.0 h1:ZX/qOECzUob95JhhRtngJElHSlJ1UNNdwK4hTEy+nl0=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ type ChartInfo struct {
Version string `json:"version,omitempty"`
// SourceRef specifies the source of the chart
SourceRef v1.TypedObjectReference `json:"sourceRef"`
// Alternative list of values files to use as the chart values (values.yaml
// is not included by default), expected to be a relative path in the SourceRef.
// Values files are merged in the order of this list with the last file overriding
// the first. Ignored when omitted.
// +optional
ValuesFiles []string `json:"valuesFiles,omitempty"`
}

// copied from: https://github.com/fluxcd/helm-controller/blob/v0.37.4/api/v2beta2/reference_types.go#L45-L80
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ spec:
required:
- name
type: object
valuesFiles:
description: Alternative list of values files to use as the chart
values (values.yaml is not included by default), expected to
be a relative path in the SourceRef. Values files are merged
in the order of this list with the last file overriding the
first. Ignored when omitted.
items:
type: string
type: array
version:
description: Version specifies the version of the chart.
type: string
Expand Down
Loading

0 comments on commit 82e9e96

Please sign in to comment.