OpenShift CLI Client for OpenShift 4.8 ignores `-f` option

Solution Verified - Updated -

Issue

  • When trying to start a debug pod based on yaml file pod definition, it is working OK on OpenShift Container Platform version 4.7, but ignoring the option -f <file.yaml> and starting default debug pod on version 4.8.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.7, 4.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content