Merge "Prevent resource deletion in Live Lab"
This commit is contained in:
commit
92ba71209e
@ -18,12 +18,16 @@ limitations under the License.
|
||||
|
||||
set -ex
|
||||
|
||||
{{ if .Values.conf.cleanup.enabled }}
|
||||
tempest cleanup --init-saved-state
|
||||
|
||||
if [ "true" == "{{- .Values.conf.cleanup.force -}}" ]; then
|
||||
trap "tempest cleanup; exit" 1 ERR
|
||||
fi
|
||||
{{- end }}
|
||||
|
||||
{{ .Values.conf.script }}
|
||||
|
||||
{{ if .Values.conf.cleanup.enabled }}
|
||||
tempest cleanup
|
||||
{{- end }}
|
||||
|
@ -200,6 +200,7 @@ conf:
|
||||
api_v3: True
|
||||
cleanup:
|
||||
force: false
|
||||
enabled: true
|
||||
|
||||
pvc:
|
||||
enabled: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user