diff --git a/web/src/core/usecases/launcher/decoupledLogic/computeHelmValues.ts b/web/src/core/usecases/launcher/decoupledLogic/computeHelmValues.ts index 8b603e955..ef01c5ee8 100644 --- a/web/src/core/usecases/launcher/decoupledLogic/computeHelmValues.ts +++ b/web/src/core/usecases/launcher/decoupledLogic/computeHelmValues.ts @@ -133,6 +133,13 @@ export function computeHelmValues_rec(params: { break use_x_onyxia_overwriteDefaultWith; } + if ( + helmValuesSchema.type === "object" && + helmValuesSchema.properties !== undefined + ) { + break use_x_onyxia_overwriteDefaultWith; + } + const resolvedValue = resolveXOnyxiaValueReference({ expression: overwriteDefaultWith, xOnyxiaContext @@ -165,6 +172,13 @@ export function computeHelmValues_rec(params: { break use_default; } + if ( + helmValuesSchema.type === "object" && + helmValuesSchema.properties !== undefined + ) { + break use_default; + } + const { isValid } = validateValueAgainstJSONSchema({ helmValuesSchema, xOnyxiaContext,