Closed t4niwa closed 5 months ago
if config.ProviderService == "" && config.CertFile != "" && config.KeyFile != "" {
go r.pollRefresh()
}
Probably do the similar changes as @t4niwa you've done in https://github.com/AthenZ/k8s-athenz-sia/pull/111/commits/0b89c129bade62f08f0c94c9dcd40a6146134c02
BUT, make sure not to use err = ...
but instead use a different name not to override the errSomething := ...
Description
panic occurred because cert reloader attempted to update even though certificate retrieval failed
This PR adds the red box in the following diagram:![image](https://github.com/AthenZ/k8s-athenz-sia/assets/53258958/1cc2515d-5a3c-4080-bb16-c776c8f6e774)
Type of change
Flags
Related issue/PR
Delete this section if there are no issues or pull requests that relate to this pull request.
Checklist
[skip ci]
/[ci skip]
/[no ci]
/[skip actions]
/[actions skip]
in the PR title if necessaryChecklist for maintainer
Squash and merge
[skip ci]
/[ci skip]
/[no ci]
/[skip actions]
/[actions skip]