diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-28 16:52:41 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-29 17:19:43 -0500 |
commit | 0a9b312d346fcdf07cbacdcca7b540248e7a54f6 (patch) | |
tree | 024b22855d46b6a85230cda8a535491c02eb65e2 /example_plugins/example.py | |
parent | 6cb4ee3bf35c5d0af42d50887b126d041bb73a20 (diff) | |
download | sos-0a9b312d346fcdf07cbacdcca7b540248e7a54f6.tar.gz |
[kubernetes|RedHat] Use `oc` command when running on OCP
If sos is run on a RHEL OpenShift node, use the `oc` command directly
instead of pointing `kubectl` at the origin config file. This allows sos
to not need to account for any other differences the `oc` binary might
implement when wrapping `kubectl`, which in turn could potentially lead
to a difference between what an end-user troubleshooting OCP may see and
what a support engineer looking through an sosreport may see.
Resolves: #1928
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'example_plugins/example.py')
0 files changed, 0 insertions, 0 deletions