From 08cb423c92ba99590c055af8276ba81413cffda6 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Mon, 25 Jan 2021 09:08:50 -0500 Subject: [PATCH] Switch to list type for Environment, so that UI can render properly --- charts/ipfs/1.0.0/questions.yaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/charts/ipfs/1.0.0/questions.yaml b/charts/ipfs/1.0.0/questions.yaml index 5348c1b7c0..6bba2062d4 100644 --- a/charts/ipfs/1.0.0/questions.yaml +++ b/charts/ipfs/1.0.0/questions.yaml @@ -71,9 +71,24 @@ questions: label: "IPFS image environment" group: "IPFS Configuration" schema: - type: dict - additional_attrs: true - attrs: [] + type: list + default: [] + items: + - variable: environmentVariable + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + required: true + - variable: value + label: "Value" + schema: + type: string + required: true - variable: service description: "IPFS Service Configuration"