teseraio / ensemble

Modular Kubernetes operator to manage the lifecycle of databases
https://ensembleoss.io
Mozilla Public License 2.0
42 stars 1 forks source link

Add apply command #50

Closed ferranbt closed 3 years ago

ferranbt commented 3 years ago

Introduce a new command:

$ ensemble apply <file>

It takes an spec file of a resource and sends it to Ensemble. It would use the same Apply interface in the GRPC layer that the Kubernetes operator is already using. For now, we can take as an argument the file in CRD yaml format. Note that schemas sent with the command would not appear on the Kubernetes control plane.