AthenZ / k8s-athenz-sia

Apache License 2.0
1 stars 7 forks source link

No Bundle Found Log with Endpoint Included #59

Open mlajkim opened 10 months ago

mlajkim commented 10 months ago

Background

Since it is hard to know which endpoint the SIA is using with the following log, it would be better if the log itself prints out the end point too after No such bundle: XXXX_ca

2023-11-10T02:25:41.780067782Z [33mWARNING[0m[2023-11-10T02:25:41Z] Error while requesting x509 role certificate to identity provider: GetCertificateAuthorityBundle failed for role certificate, err: 404 getCertificateAuthorityBundle: No such bundle: XXXX_ca 
2023-11-10T02:25:41.780099647Z [31mERROR[0m[2023-11-10T02:25:41Z] Failed to refresh certificates: GetCertificateAuthorityBundle failed for role certificate, err: 404 getCertificateAuthorityBundle: No such bundle: XXXX_ca. Retrying in 8.68639211s 

TODOs