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