mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-20 14:01:01 +02:00
Adding the following accross the project: ```bash /# exit immediately when a command fails set -e /# only exit with zero if all commands of the pipeline exit successfully set -o pipefail /# error on unset variables +set -u ```
10 lines
229 B
Bash
Executable File
10 lines
229 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# exit immediately when a command fails
|
|
set -e
|
|
# only exit with zero if all commands of the pipeline exit successfully
|
|
set -o pipefail
|
|
# error on unset variables
|
|
set -u
|
|
|
|
kubectl delete -f examples/example-app
|