omrikiei / ktunnel

A cli that exposes your local resources to kubernetes
GNU General Public License v3.0
913 stars 71 forks source link

Add a flag to set deployment annotations #124

Closed progxaker closed 4 months ago

progxaker commented 4 months ago

Hello @omrikiei. Thanks for all your work on this project.

I have a Kubernetes application that doesn't support Istio sidecar, but others do. To disable Istio injection for a specific pod, it's necessary to add the annotation sidecar.istio.io/inject=false. I wanted to connect the application to a local SigNoz instance to get trace data, but found that ktunnel doesn't have a flag to set annotations.

I've prepared a small change to add this capability.

omrikiei commented 4 months ago

Thank you for your contribution!