-
Notifications
You must be signed in to change notification settings - Fork 420
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
Move replicas to KubernetesResource from eventlistener spec #1021
Conversation
The following is the coverage report on the affected files.
|
9a1f105
to
e4745f2
Compare
The following is the coverage report on the affected files.
|
docs/eventlisteners.md
Outdated
@@ -191,6 +192,8 @@ check out the guide on [exposing EventListeners](./exposing-eventlisteners.md). | |||
|
|||
### Replicas | |||
|
|||
The `replicas` field is deprecated as part of eventlistener spec instead its moved to `resources.kubernetesResource`. |
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.
The `replicas` field is deprecated as part of eventlistener spec instead its moved to `resources.kubernetesResource`. | |
The `spec.replicas` field has been moved to `spec.resources.kubernetesResource.replicas`. |
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.
We should also get rid of the following lines in this section.
/lgtm |
e4745f2
to
565a3b8
Compare
The following is the coverage report on the affected files.
|
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.
small edits that may read better.
565a3b8
to
ecf0f5d
Compare
The following is the coverage report on the affected files.
|
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: dibyom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
replicas
field will be useful incase ofKubernetesResource
resource notCustomResource
so keepingreplicas
at eventlistener spec level creating confusion while creatingCustomResource
object.In order to avoid such confusions moving
replicas
field from eventlistener spec to KubernetesResource. Deprecatingreplicas
from eventlistener spec and will be removed in future.Fixes: #1019
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes