apache / incubator-kie-issues

Apache License 2.0
11 stars 1 forks source link

EPIC - Refactor kn workflow CLI to use client-go instead of `kubectl` subshell calls #1329

Open ricardozanini opened 1 week ago

ricardozanini commented 1 week ago

Currently, our kn-workflow plugin relies on calls to kubectl subshell in order to interact with the cluster. Ideally, instead, we should use https://github.com/kubernetes/client-go. It's a native golang library and well-documented to connect and manage objects directly within the cluster.

This will easy future feature implementations such as validating if the Operator is installed or Knative is available.

Part of this epic:

treblereel commented 2 days ago

@ricardozanini let me take a look please