mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
chore: add LOG_LEVEL variable to scripts/run-external.sh
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
23cbc11161
commit
e433c0d987
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ declare USE_DEFAULT_CONTEXT=false
|
|||
declare API_SERVER=""
|
||||
declare IMPERSONATE_USER="${IMPERSONATE_USER:-}"
|
||||
declare FEATURE_GATES="${FEATURE_GATES:-}"
|
||||
declare LOG_LEVEL="${LOG_LEVEL:-info}"
|
||||
|
||||
# tmp operator files that needs to be cleaned up
|
||||
declare -r CA_FILE="tmp/CA_FILE"
|
||||
|
@ -132,6 +133,7 @@ run_operator() {
|
|||
--ca-file="$CA_FILE" \
|
||||
--cert-file="$CERT_FILE" \
|
||||
--feature-gates="$FEATURE_GATES" \
|
||||
--log-level="$LOG_LEVEL" \
|
||||
--key-file="$KEY_FILE" 2>&1 | tee tmp/operator.log
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue