operator-framework / java-operator-sdk

Java SDK for building Kubernetes Operators
https://javaoperatorsdk.io/
Apache License 2.0
749 stars 187 forks source link

Improve `WorkflowBuilder` API #2284

Open metacosm opened 4 months ago

metacosm commented 4 months ago

We should have an intermediate API to configure nodes in the workflow in a type-safe and less confusing way. Right now, things are implicitly done, relying on the order of method calls. While what is going on can easily be figured out by looking at the builder's implementation, we should make things type-safe and error-proof via the API.

csviri commented 4 months ago

see also: https://github.com/operator-framework/java-operator-sdk/issues/2256#issuecomment-1989688502