Consider adding WatchConfig and automatic reload for CA secrets #310
Labels
kind/enhancement
Categorizes issue or PR as related to an improvement.
lifecycle/keep
Denotes an issue or PR that should be preserved from going stale.
Preflight Checklist
Problem Description
When using cert-manager as CA provider for webhook in line
vault-secrets-webhook/main.go
Line 175 in 5c5715a
this CA is read but when CA rotates this require a rollout of the webhook deployment
Proposed Solution
Use the WatchConfig() in viper library to detect change in the file and reload vault-secrets-webhook
Alternatives Considered
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: