Fix setting Helm values for ProjectHelmCharts

The values must be stored into `spec.values` and not top-level in the resource.

Signed-off-by: Bastian Hofmann <mail@bastianhofmann.de>
This commit is contained in:
Bastian Hofmann 2023-03-06 10:35:22 +01:00
parent a9195dda4a
commit 36b52dcc75
No known key found for this signature in database
GPG Key ID: 396EEDEC01B4D92F
1 changed files with 5 additions and 1 deletions

View File

@ -48,6 +48,10 @@ export default {
},
data() {
if (!this.value.spec.values) {
this.$set(this.value.spec, 'values', {});
}
return {
systemNamespaces: null,
namespaces: [],
@ -128,7 +132,7 @@ export default {
:side-tabs="true"
>
<Questions
v-model="value"
v-model="value.spec.values"
tabbed="multiple"
:target-namespace="value.metadata.namespace"
:source="selectedNamespaceQuestions"