Closed chuckha closed 4 years ago
How does all of this relate to https://github.com/kubernetes-sigs/cluster-api/tree/master/util/certs?
@vincepri I could use those and delete (a lot) more code!
/hold
need to run some local tests, will update with results
I wouldn't call the package internal
(I'm trying to get us to move away from generic names like internal and util). You could do internal/certs
?
@ncdc the logic behind the name was that it wasn't complex enough for its own package and certs.Certificates
stutters a bit.
What about hmm, cluster
?
Not that this is a valid justification, but there is at least context.Context
as precedent.
I'm fine with internal/cluster
for the time being, though!
/hold cancel
Looks good from my end (both docker and aws provider 👍)
/cc @ncdc
/assign @fabriziopandini
I will try to review later today
/approve Pending for @ncdc answer to comment before lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: chuckha, fabriziopandini
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@fabriziopandini over to you for lgtm (the f2f is keeping me busy) - thanks!
/lgtm
What this PR does / why we need it: This PR extracts certificate management from the Reconciler keeping the scope of the reconciler more focused.
It fixes #217. Related to #59
This does not support external etcd yet because of the way kubeadm works. There will be a following PR to add support for external etcd.
This is a BREAKING API change.
I would like to see this project move to a non-library layout as this code was not intended to used as a library and we are not versioning it as such.