Skip to content

Commit

Permalink
Add debug loglevel for E2E runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amulyam24 committed Apr 21, 2022
1 parent 0924bc1 commit 43d3dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
- "--leader-elect"
- "--metrics-bind-addr=127.0.0.1:8080"
- "--powervs-provider-id-fmt=${POWERVS_PROVIDER_ID_FORMAT:=v1}"
- "--v=${LOGLEVEL:=0}"
image: controller:latest
name: manager
ports:
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ prerequisites_powervs(){
export IBMPOWERVS_IMAGE_NAME=${IBMPOWERVS_IMAGE_NAME:-"capibm-powervs-centos-streams8-1-22-4"}
export IBMPOWERVS_SERVICE_INSTANCE_ID=${IBMPOWERVS_SERVICE_INSTANCE_ID:-"0f28d13a-6e33-4d86-b6d7-a9b46ff7659e"}
export IBMPOWERVS_NETWORK_NAME=${BOSKOS_RESOURCE_NAME:-"capi-e2e-test"}
# Setting controller loglevel to allow debug logs from the PowerVS client
export LOGLEVEL=5
}

main(){
Expand Down

0 comments on commit 43d3dfe

Please sign in to comment.