mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-08 06:15:45 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. apply global flag "context" for kubectl config view **What this PR does / why we need it**: `--context` is a global flag, which should be applied to `kubectl config view` as well when minifying. Currently this command is only available for `current-context`. With this PR, it will be easier for users to view other non current contexts when minifying. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #64583 **Special notes for your reviewer**: /cc soltysh juanvallejo **Release note**: ```release-note apply global flag "context" for kubectl config view --minify ```