Skip to content

Commit

Permalink
ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
mplsgrant committed Sep 24, 2024
1 parent f51061a commit 730b203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/warnet/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def get_ingress_ip_or_host():
print(f"Error getting ingress IP: {e}")
return None


def get_kubeconfig_value(jsonpath):
command = f"kubectl config view --minify -o jsonpath={jsonpath}"
return run_command(command)
Expand Down

0 comments on commit 730b203

Please sign in to comment.