e2e: set log level to 5 in csi pods

all the sidecar log level is not set
to 5 by default, without debug logs
we cannot understand what is wrong
in the tests, this commits sets the
log level to 5 for csi pods.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2024-09-11 10:45:16 +02:00
committed by mergify[bot]
parent c48f5bff37
commit 5c621d2e82
2 changed files with 11 additions and 0 deletions

View File

@ -250,6 +250,8 @@ func (yrn *yamlResourceNamespaced) Do(action kubectlAction) error {
return fmt.Errorf("failed to read content from %q: %w", yrn.filename, err)
}
data = replaceLogLevelInTemplate(data)
if yrn.oneReplica {
data = oneReplicaDeployYaml(data)
}