fix: can't evaluate field KubeContext in type state.releaseTemplateDataRelease (#1797)

Fixes #1796
This commit is contained in:
katsew 2021-04-24 15:28:20 +09:00 committed by GitHub
parent 83189dbad3
commit 41cbc25c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -52,4 +52,7 @@ type releaseTemplateDataRelease struct {
// Chart is ReleaseSpec.Chart
Chart string
// KubeContext is ReleaseSpec.KubeContext
KubeContext string
}