Closed johnsca closed 4 years ago
It seems the parent path for certs is usually but not always created before the certs are written. This adds a check to ensure the parent paths always exist before writing the certs or keys.
Fixes lp:1899650
Tested on AWS, without Vault but it still covered that code path.
kubeapi-load-balancer/0* active idle 2 54.159.84.122 443/tcp Loadbalancer ready.
LGTM
It seems the parent path for certs is usually but not always created before the certs are written. This adds a check to ensure the parent paths always exist before writing the certs or keys.
Fixes lp:1899650