Is your feature request related to a problem? Please describe.
The CLI supports a --workload option, it should use the value of that option to obtain the selector and create the connector custom resource with that selector.
Describe the solution you'd like
The --workload flag will contain the value /resource-name>, e.g. --workload
deployment/backend. These are the resource types to check.
services
daemonsets
deployments
statefulsets
Additional context
This feature will be available only for kube platforms.
Is your feature request related to a problem? Please describe. The CLI supports a --workload option, it should use the value of that option to obtain the selector and create the connector custom resource with that selector.
Describe the solution you'd like The/resource-name>, e.g. --workload
deployment/backend. These are the resource types to check.
--workload
flag will contain the valueAdditional context This feature will be available only for kube platforms.