fix(templates): move extraArgs from .Values.controller to .Values (#3447)

* fix(templates): move extraArgs from .Values.controller to .Values

* update questions

* whoops

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Stavros Kois
2022-08-12 11:40:46 +03:00
committed by GitHub
parent 0e40f84cb8
commit 16fbffb961
738 changed files with 765 additions and 11 deletions

View File

@@ -75,7 +75,7 @@ include_questions(){
awk 'NR==FNR { a[n++]=$0; next }
/# Include{strategy}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/strategy/strategy.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{recreate} with the standard recreate codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{recreate}/ { for (i=0;i<n;++i) print a[i]; next }
@@ -96,6 +96,11 @@ include_questions(){
/# Include{controllerExpert}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/controller/controllerExpert.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{controllerExpertExtraArgs} with the standard controllerExpertExtraArgs codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{controllerExpertExtraArgs}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/controller/controllerExpertExtraArgs.yaml ${target}/questions.yaml > "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<n;++i) print a[i]; next }