spinkube / spin-operator

Spin Operator is a Kubernetes operator that empowers platform engineers to deploy Spin applications as custom resources to their Kubernetes clusters
https://www.spinkube.dev/docs/overview/
Other
185 stars 23 forks source link

Consider moving CRDs to separate Go module #329

Open kate-goldenring opened 1 week ago

kate-goldenring commented 1 week ago

If in a separate go module, other projects, such as the spin-kube plugin could reference it.

Context: https://github.com/spinkube/spin-plugin-kube/issues/88

endocrimes commented 1 week ago

It should be able to reference it already? - transitive dependency conflicts shouldn't be much of an issue between the plugin and the operator (iirc it doesn't mostly to template nicer yaml than just encoding a struct would give you)

kate-goldenring commented 1 week ago

@endocrimes good point. we can import the entire spin-operator module and use the api types.