Skip to content

Commit d6d98d5

Browse files
authored
Add debug loglevel for E2E runs (#641)
1 parent 0924bc1 commit d6d98d5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ spec:
2929
- "--leader-elect"
3030
- "--metrics-bind-addr=127.0.0.1:8080"
3131
- "--powervs-provider-id-fmt=${POWERVS_PROVIDER_ID_FORMAT:=v1}"
32+
- "--v=${LOGLEVEL:=0}"
3233
image: controller:latest
3334
name: manager
3435
ports:

scripts/ci-e2e.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ prerequisites_powervs(){
9494
export IBMPOWERVS_IMAGE_NAME=${IBMPOWERVS_IMAGE_NAME:-"capibm-powervs-centos-streams8-1-22-4"}
9595
export IBMPOWERVS_SERVICE_INSTANCE_ID=${IBMPOWERVS_SERVICE_INSTANCE_ID:-"0f28d13a-6e33-4d86-b6d7-a9b46ff7659e"}
9696
export IBMPOWERVS_NETWORK_NAME=${BOSKOS_RESOURCE_NAME:-"capi-e2e-test"}
97+
# Setting controller loglevel to allow debug logs from the PowerVS client
98+
export LOGLEVEL=5
9799
}
98100

99101
main(){

0 commit comments

Comments
 (0)