fix: can't evaluate field KubeContext in type state.releaseTemplateDataRelease (#1797)
Fixes #1796
This commit is contained in:
parent
83189dbad3
commit
41cbc25c35
|
|
@ -27,6 +27,7 @@ func (st *HelmState) createReleaseTemplateData(release *ReleaseSpec, vals map[st
|
|||
Chart: release.Chart,
|
||||
Namespace: release.Namespace,
|
||||
Labels: release.Labels,
|
||||
KubeContext: release.KubeContext,
|
||||
},
|
||||
}
|
||||
tmplData.StateValues = &tmplData.Values
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@ type releaseTemplateDataRelease struct {
|
|||
|
||||
// Chart is ReleaseSpec.Chart
|
||||
Chart string
|
||||
|
||||
// KubeContext is ReleaseSpec.KubeContext
|
||||
KubeContext string
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue