Skip to content

Commit

Permalink
fix helm chart deploy preview in workflow v4
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zhao <[email protected]>
  • Loading branch information
PetrusZ committed Feb 11, 2025
1 parent e70683b commit be59f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ type DeployHelmChart struct {
ChartName string `bson:"chart_name" yaml:"chart_name" json:"chart_name"`
ChartVersion string `bson:"chart_version" yaml:"chart_version" json:"chart_version"`
ValuesYaml string `bson:"values_yaml" yaml:"values_yaml" json:"values_yaml"`
OverrideKVs string `bson:"override_kvs" yaml:"override_kvs" json:"override_kvs"` // used for helm services, json-encoded string of kv value
}

type DeployService struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (j *HelmChartDeployJob) SetPreset() error {
ChartName: renderChart.ChartName,
ChartVersion: renderChart.ChartVersion,
ValuesYaml: renderChart.GetOverrideYaml(),
OverrideKVs: renderChart.OverrideValues,
}
deploys = append(deploys, deploy)
}
Expand Down

0 comments on commit be59f12

Please sign in to comment.