tetragon icon indicating copy to clipboard operation
tetragon copied to clipboard

Use GetConfigOrDie instead of InClusterConfig

Open jrfastab opened this issue 2 years ago • 2 comments

Avoid process exit when debugging directly with KUBECONFIG file

Signed-off-by: Duan Jiong [email protected] Signed-off-by: John Fastabend [email protected]

jrfastab avatar Jun 22 '22 14:06 jrfastab

@duanjiong could you add a bit more details for me I'm not sure I follow what this fixes. What does "debugging directly with KUBECONFIG fie" mean here? Cilium also uses InClusterConfig().

jrfastab avatar Jun 22 '22 14:06 jrfastab

@duanjiong could you add a bit more. What does "debugging directly with KUBECONFIG fie" mean here? Cilium also uses InClusterConfig().

jrfastab avatar Jun 22 '22 14:06 jrfastab