chore(Apps): refactor Services SCALE GUI

This commit is contained in:
Kjeld Schouten-Lebbing
2022-09-17 13:24:06 +02:00
parent 24bcac5826
commit 7be0dcbe6d
659 changed files with 1120 additions and 1126 deletions

View File

@@ -121,11 +121,6 @@ include_questions(){
/# Include{serviceSelectorExtras}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/service/serviceSelectorExtras.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{serviceSelectorSimple} with the standard serviceSelectorSimple codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{serviceSelectorSimple}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/service/serviceSelectorSimple.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{serviceSelectorClusterIP} with the standard serviceSelectorClusterIP codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{serviceSelectorClusterIP}/ { for (i=0;i<n;++i) print a[i]; next }
@@ -136,11 +131,6 @@ include_questions(){
/# Include{serviceSelectorLoadBalancer}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/service/serviceSelectorLoadBalancer.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{serviceSelectorNodePort} with the standard serviceSelectorNodePort codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{serviceSelectorNodePort}/ { for (i=0;i<n;++i) print a[i]; next }
1' templates/questions/service/serviceSelectorNodePort.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
# Replace # Include{advancedPortHTTP} with the standard advancedPortHTTP codesnippet
awk 'NR==FNR { a[n++]=$0; next }
/# Include{advancedPortHTTP}/ { for (i=0;i<n;++i) print a[i]; next }