atomist / sdm-pack-k8s

Extension Pack for an Atomist SDM to integrate Kubernetes deployments
Apache License 2.0
3 stars 2 forks source link

Add Kubernetes fetch #61

Closed ddgenome closed 5 years ago

ddgenome commented 5 years ago

Add ability to fetch Kubernetes resource specs from a cluster. These specs could be used to replicated resources across multiple clusters, migrate resources, or just bootstrap GitOps.

Update @kubernetes/client-node and fix compilation.

Closes #59

ddgenome commented 5 years ago

I was thinking we do not expose any of the @kuberenetes/client-node in our exported interface, i.e., index.ts, but I'll update some downstream dependencies and see what happens.

ddgenome commented 5 years ago

It doesn't look like this breaking change in the kubernetes/client-node library leaks through to our interface. I updated, compiled, and tested both atomist-sdm and k8s-sdm without issue or code changes.

sdm-core was already using this latest version.

I've taken the auto-merge label off because I'd like to improve the interface the CLI has available to it to do its work before this gets merged.