Description of problem: Previously we had a bug opened for "Reduce buildah log level for default build log level [NEEDINFO]": https://bugzilla.redhat.com/show_bug.cgi?id=1996883 We suggested customer using secrets, however, customer confirmed that they are using secrets as per: https://docs.openshift.com/container-platform/4.8/cicd/builds/creating-build-inputs.html#builds-input-secrets-configmaps_creating-build-inputs But not able to use "--quiet" build argument since they are using openshift s2i config: strategy: type: Source sourceStrategy: from: kind: ImageStreamTag namespace: xxxxxxx name: 's2i-xxxxxx-xxxxxxx:v1.0.0' Actual results: Under this setting, the secret as well as every other openshift secret are printed. Expected results: Sensitive information (ENV) should not appear in build logs Additional info: Maybe pass the --quiet option via the buildconfig fir s2i?
Hi Build team, I see that the target release for this bug is 4.11.0 Please let us know where to add the LOG_LEVEL for s2i and/or passing "--quiet" options once the fix is deployed. Kind regards, Tao Xu
verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:7399