dynamiclistener/storage
Brad Davidson 9b92d13bcb Fix initial secret not being written to Kubernetes
Updates to the secret that occurred before the controller was done
syncing were not being written to Kubernetes. Subsequent updates to the
secret would eventually get it written, but Rancher requires that the
cert be written immediately. This was probably an unnecessary
optimization anyway, so back it out in favor of just checking to see if
the secrets controller is available.

Also fixed improper handling of multiple goroutines attempting to create
the Kubernetes secret at the same time; this was also handled eventually
but caused an unnecessary round of extra writes to the secret.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-05-20 12:21:30 -07:00
..
file Fix listenAndServe certificate expiration by preloading certs 2021-11-23 23:38:49 -08:00
kubernetes Fix initial secret not being written to Kubernetes 2022-05-20 12:21:30 -07:00
memory Move Kubernetes Secrets storage update to goroutine 2022-05-02 18:48:48 -07:00
static Add static storage and listener opts 2019-12-04 11:32:00 -07:00