Preflight Checklist
Problem Description
When using cert-manager as CA provider for webhook in line
|
tlsCertFile := viper.GetString("tls_cert_file") |
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
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