You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kubectl get secrets -oyaml| kubectl grep -d -r foobar should do it. it would output the full secret yaml not just the .data section, so you would also want to pipe it to jq (converting from yaml to json before or using a similar tool with yaml support) to extract just the data value if you want that.
After spending good 15min+ trying to get it to work I was unable to successfully search secrets and I gave up using
kubectl-grep
.Please document what is the equivalent of:
I tried following variations but none actually make the relevant entry to pop up:
The text was updated successfully, but these errors were encountered: