oc client exits while watching resources and using a custom output
Issue
- When using the
OpenShift client
tofollow/watch
resources, theoc
client exits prematurely with an exit code of 0 when new events occur and an output format is defined. - Problematic version
v3.11.104 oc client
- Older clients such as
v3.6.173.0.21
handle the use of -o (output format) while watching resource properly and do not immediately exit once new events are observed.
Environment
- OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.