fix: rename .Release.Version to .Release.ChartVersion
Signed-off-by: Simske <mail@simske.com>
This commit is contained in:
parent
17caf1d3cd
commit
06a4c903e9
|
|
@ -52,7 +52,7 @@ releases:
|
|||
- `Release.Labels`: The labels to be applied to the release
|
||||
- `Release.Chart`: The chart name of the release
|
||||
- `Release.KubeContext`: The kube context to be used for the release
|
||||
- `Release.Version`: The version of the current chart
|
||||
- `Release.ChartVersion`: The version of the current chart
|
||||
- `Values`: Values passed into the environment.
|
||||
- `StateValues`: alias for `Values`.
|
||||
- `Environment`: The information about the environment. This is set by the
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@ func (st *HelmState) createReleaseTemplateData(release *ReleaseSpec, vals map[st
|
|||
Chart: st.OverrideChart,
|
||||
Values: vals,
|
||||
Release: releaseTemplateDataRelease{
|
||||
Name: release.Name,
|
||||
Chart: release.Chart,
|
||||
Namespace: release.Namespace,
|
||||
Labels: release.Labels,
|
||||
KubeContext: release.KubeContext,
|
||||
Version: release.Version,
|
||||
Name: release.Name,
|
||||
Chart: release.Chart,
|
||||
Namespace: release.Namespace,
|
||||
Labels: release.Labels,
|
||||
KubeContext: release.KubeContext,
|
||||
ChartVersion: release.Version,
|
||||
},
|
||||
}
|
||||
tmplData.StateValues = &tmplData.Values
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@ type releaseTemplateDataRelease struct {
|
|||
// Chart is ReleaseSpec.Chart
|
||||
Chart string
|
||||
|
||||
// Version is ReleaseSpec.Version
|
||||
Version string
|
||||
// ChartVersion is ReleaseSpec.Version
|
||||
ChartVersion string
|
||||
|
||||
// KubeContext is ReleaseSpec.KubeContext
|
||||
KubeContext string
|
||||
|
|
|
|||
Loading…
Reference in New Issue