Skip to content

Commit 506bd58

Browse files
committed
k8s: get raw config values from kubectl
1 parent 971afb9 commit 506bd58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/k8s.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def write_file_to_container(
391391

392392

393393
def get_kubeconfig_value(jsonpath):
394-
command = f"kubectl config view --minify -o jsonpath={jsonpath}"
394+
command = f"kubectl config view --minify --raw -o jsonpath={jsonpath}"
395395
return run_command(command)
396396

397397

0 commit comments

Comments
 (0)