fix(Postgresql): use correct PVC storageClass when using postgresql as a dependency on SCALE (#1212)

* fix db persistence

* Add global isSCALE flag to every questions.yaml file

* bump common
This commit is contained in:
Kjeld Schouten-Lebbing
2021-10-20 19:39:05 +02:00
committed by GitHub
parent 8f73fe8f66
commit 5c11bc8fb0
165 changed files with 188 additions and 11 deletions
+5
View File
@@ -130,6 +130,11 @@ include_questions(){
local target="catalog/${train}/${chartname}/${chartversion}"
echo "Including standardised questions.yaml includes for: ${chartname}"
# Replace # Include{global} with the standard global codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{global}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/global.yaml ${target}/questions.yaml > tmp && mv tmp ${target}/questions.yaml
# Replace # Include{groups} with the standard groups codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{groups}/ { for (i=0;i<n;++i) print a[i]; next }