Bug 1259803 - [RFE] provide extensibility for the "oc" client
Summary: [RFE] provide extensibility for the "oc" client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.1.0
Assignee: Michal Fojtik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 14:35 UTC by Evgheni Dereveanchin
Modified: 2023-10-06 17:29 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-12 12:37:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Evgheni Dereveanchin 2015-09-03 14:35:39 UTC
Description of problem:
This request proposes to make the "oc" client extensible by means of adding a plugin architecture to it.

Comment 3 Mike Barrett 2015-09-30 15:36:21 UTC
Agree.  We need to publish how to extend the go client.  That will not happen in OSE 3.1.

Comment 5 Mike McCune 2016-03-28 23:02:11 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Dan McPherson 2016-04-14 21:04:37 UTC
It would be helpful to elaborate on what types of extension points would be useful.

Comment 11 Michael Epley 2016-09-29 18:25:18 UTC
Not a plugin architecture, but having a generic way to insert object attributes via JSONPath/YamlPath(?) expressions would be extremely useful; something to the effect of allowing  "--attribute spec.source.sourceSecret.name=gitlabsecret" that would add that node to the corresponding object

Comment 12 Steve Speicher 2017-12-12 16:53:24 UTC
This has been delivered at Tech Preview in 3.7 and planned supported in upcoming release.

Comment 13 Sergi Jimenez Romero 2017-12-14 13:37:04 UTC
(In reply to Steve Speicher from comment #12)
> This has been delivered at Tech Preview in 3.7 and planned supported in
> upcoming release.

Steve, I wasn't able to find a mention on the release notes (under Tech Preview section), is there anything I could point my customers to ? Thanks.

Comment 14 Steve Speicher 2017-12-14 16:57:23 UTC
Not sure why it isn't in release notes but reading https://docs.openshift.com/container-platform/3.7/cli_reference/extend_cli.html

Comment 15 Sergi Jimenez Romero 2017-12-15 17:02:38 UTC
(In reply to Steve Speicher from comment #14)
> Not sure why it isn't in release notes but reading
> https://docs.openshift.com/container-platform/3.7/cli_reference/extend_cli.
> html

thanks, I've just forwarded the link to the customer and waiting for their feedback.

Comment 23 Maciej Szulik 2019-01-16 13:22:59 UTC
I'm changing assignee to Michal, since he's in charge of master team. We should have alpha version along with the rebase in 4.0.
Beta, iow. more stable with the next rebase to 1.13.

Comment 25 Maciej Szulik 2019-02-12 14:03:41 UTC
This mechanism will be available as of 4.0.

Comment 26 Maciej Szulik 2019-04-09 14:21:14 UTC
This landed with the rebase, moving to QA.

Comment 28 Eric Rich 2019-06-12 12:37:27 UTC
This is provided as part of 4.1 (in a technology preview state).


Note You need to log in before you can comment on or make changes to this bug.