Difference between revisions of "Kubectl config view --minify"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
   kubectl config view --minify --output 'jsonpath={..namespace}@{.current-context}' 2> /dev/null
 
   kubectl config view --minify --output 'jsonpath={..namespace}@{.current-context}' 2> /dev/null
 
  }
 
  }
 
+
<ref>https://stackoverflow.com/questions/61406690/bash-kube-context-and-git-branch-prompt</ref>
  
  

Revision as of 21:18, 28 September 2022

Advertising: