From e4e6f86d2c76d94377fb392fdd233cd4f91aa87a Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 27 Jun 2022 12:38:05 +0300 Subject: [PATCH] feat(custom-app): Add custom command UI (#2983) * feat(custom-app): Add custom command UI * give custom command it's own checkbox Co-authored-by: Kjeld Schouten-Lebbing --- .github/scripts/build-catalog.sh | 5 +++++ charts/stable/custom-app/Chart.yaml | 2 +- charts/stable/custom-app/questions.yaml | 1 + .../questions/controllerExpertCommamd.yaml | 17 +++++++++++++++++ tools/build-release.sh | 5 +++++ 5 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 templates/questions/controllerExpertCommamd.yaml diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index d63fc9e6534..ac938a12541 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -31,6 +31,11 @@ include_questions(){ /# Include{controllerExpert}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{controllerExpertCommand} with the standard controllerExpertCommand codesnippet + awk 'NR==FNR { a[n++]=$0; next } + /# Include{controllerExpertCommand}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{containerConfig} with the standard containerConfig codesnippet awk 'NR==FNR { a[n++]=$0; next } /# Include{containerConfig}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{controllerExpertCommand} with the standard controllerExpertCommand codesnippet + awk 'NR==FNR { a[n++]=$0; next } + /# Include{controllerExpertCommand}/ { for (i=0;i "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml + # Replace # Include{containerConfig} with the standard containerConfig codesnippet awk 'NR==FNR { a[n++]=$0; next } /# Include{containerConfig}/ { for (i=0;i