openshift-kni / debug-tools

debug and troubleshooting tools to check CNF workload configuration - unsupported
Apache License 2.0
0 stars 10 forks source link

podinfo: Try first in-cluster to get kubeconfig #68

Closed jlojosnegros closed 2 years ago

jlojosnegros commented 2 years ago

In order to get a kubeconfig to talk to a server API in podinfo command three elements are tried

Better to check "in-cluster config" before the one in the user home to avoid conflicts.

pod-info command info: #64

openshift-ci[bot] commented 2 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlojosnegros

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift-kni/debug-tools/blob/main/OWNERS)~~ [jlojosnegros] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ffromani commented 2 years ago

/lgtm

jlojosnegros commented 2 years ago

/hold

jlojosnegros commented 2 years ago

/unhold

jlojosnegros commented 2 years ago

/cherry-pick release-4.10

As #64 has been only cherry-picked to 4.10 this change need to be also cherry-picked to the same release.

openshift-cherrypick-robot commented 2 years ago

@jlojosnegros: new pull request created: #71

In response to [this](https://github.com/openshift-kni/debug-tools/pull/68#issuecomment-1232601178): >/cherry-pick release-4.10 > >As #64 has been only cherry-picked to 4.10 this change need to be also cherry-picked to the same release. Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.