diff --git a/hack/ci/oci-zot-workload-identity-e2e.sh b/hack/ci/oci-zot-workload-identity-e2e.sh index e5b71d742..53d759cff 100755 --- a/hack/ci/oci-zot-workload-identity-e2e.sh +++ b/hack/ci/oci-zot-workload-identity-e2e.sh @@ -770,12 +770,12 @@ EOF kubectl -n "${NS}" rollout status deploy/source-controller --timeout=2m for _ in $(seq 1 30); do logs="$(kubectl -n "${NS}" logs deploy/source-controller)" - if grep -qF "object-level workload identity will use the SPIFFE Broker API" <<<"${logs}"; then + if grep -qF "SPIFFE Broker API" <<<"${logs}"; then break fi sleep 1 done -grep -qF "object-level workload identity will use the SPIFFE Broker API" <<<"${logs}" \ +grep -qF "SPIFFE Broker API" <<<"${logs}" \ || fail "source-controller did not log SPIFFE Broker API usage" ############################################################################## diff --git a/main.go b/main.go index 458993e4b..c3f06a90b 100644 --- a/main.go +++ b/main.go @@ -249,7 +249,7 @@ func main() { setupLog.Error(err, "unable to close SPIFFE Broker client") } }() - setupLog.Info("object-level workload identity will use the SPIFFE Broker API", + setupLog.Info("SPIFFE Broker API", "endpoint", spiffeBrokerEndpoint, "spiffeIDs", spiffeBrokerIDs) } }