Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restart openshift-apiserver only if aggregator-client-ca is expired
This cert is eventually renewed at startup. If it is renewed, we need to wait for it and restart openshift-apiserver. Since this cert is located both in a configmap and on the disk, we prefer to read it from the disk: it is faster to access and more reliable. If the cert is not expired, openshift-apiserver will correctly start. `crc start` will take less time when the bundle is fresh (< 30 days).
- Loading branch information
1 parent
35ba24d
commit 331c303
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters