-
Notifications
You must be signed in to change notification settings - Fork 667
CONSOLE-4840: Remove FeatureFlag/Model and ModelDefinition
#15671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONSOLE-4840: Remove FeatureFlag/Model and ModelDefinition
#15671
Conversation
|
@logonoff: This pull request references CONSOLE-4840 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
53fa3ac to
99ffdd1
Compare
| export type AlwaysOnExtension<P extends {} = any> = Omit<Extension<P>, 'flags'>; | ||
|
|
||
| namespace ExtensionProperties { | ||
| export interface ModelDefinition { | ||
| /** Additional Kubernetes model definitions to register with Console. */ | ||
| models: K8sModel[]; | ||
| } | ||
| } | ||
|
|
||
| export interface ModelDefinition extends AlwaysOnExtension<ExtensionProperties.ModelDefinition> { | ||
| type: 'ModelDefinition'; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There really is no reason that any plugin would be using these types as this refers to an extension point in the old system
b6bc93d to
71cfdd8
Compare
|
@logonoff: This pull request references CONSOLE-4840 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
030378d to
51e2f2f
Compare
spadgett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/label plugin-api-approved
|
/assign @yapei |
|
/label px-approved |
|
@logonoff: This pull request references CONSOLE-4840 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
73f57b3 to
51c393d
Compare
|
@logonoff: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
the described issue in #15653 has been fixed |
|
@yapei: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
jhadvig
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, logonoff, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All
ModelDefinitionandFeatureFlag/Modelextensions have been removed, so we can also remove their handling.Fixes #15653 (comment)
API change:
ModelDefinitionstatic extension type no longer exported to dynamic plugin SDKsetPluginStoreno longer does anything -- will remove in 4.22. Decided to keep it as a stub function for now to avoid a breaking change