enhancements: kubectl return code normalization

Enhancement Description

  • One-line enhancement description (can be used as a release note): Normalize the return codes issued by kubectl when an error occurs (and also when we have success)
  • Kubernetes Enhancement Proposal: NONE YET
  • Discussion Link: Discussed on sig-cli bug scrub of 3rd of March of 2021 https://www.youtube.com/watch?v=EWxJiZXZD08 49:39
  • Primary contact (assignee): @rikatz
  • Responsible SIGs: CLI
  • Enhancement target (which target equals to which milestone):
    • Alpha release target (x.y): 1.22
    • Beta release target (x.y): 1.23
    • Stable release target (x.y): 1.24
  • Alpha
    • KEP (k/enhancements) update PR(s):
    • Code (k/k) update PR(s):
    • Docs (k/website) update PR(s):

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 8
  • Comments: 20 (13 by maintainers)

Most upvoted comments

Hey @chrisnegus I must have marked this feature prematurely as needs docs, since we’re still very early and not much of this work will be visible to users. Is there a way we could remove that needs docs for now?

@eddiezane @soltysh let me see if someone here at company wants to help me on this, so I can sort of mentor/help/whatever but someone can do the heavy job!

Maybe we can get an alpha proposal for this in v1.24

@JamesLaverack this isn’t something SIG-CLI is planning to track for 1.22, we will be working on it, but we’re more in the gather input phase than closer to alpha implementation.