kyma-project / cloud-manager

Apache License 2.0
3 stars 14 forks source link

fix: #382 Google JWT error #389

Closed ravi-shankar-sap closed 2 months ago

ravi-shankar-sap commented 2 months ago

Description Currently, the GCP provider has logic to periodically poll (every 5 minutes) the credential files and create a new httpClient. But the GCP Services still use the httpClient that they were initialized with as they have the reference to the old pointer variable. Fixed it by dereferencing the old pointer and updating it with the new httpClient.

Related issue(s) https://github.com/kyma-project/cloud-manager/issues/382