-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update container source documentation with template field
#1491
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
Update container source documentation with template field
#1491
Conversation
|
Hi @jingweno. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes/test-infra repository. |
|
/kind eventing |
|
/lgtm |
|
@n3wscott I'm unsure why the tests failed. Any pointers? |
|
/test pull-knative-docs-integration-tests |
1 similar comment
|
/test pull-knative-docs-integration-tests |
|
Thanks, @jingweno ! |
|
/test pull-knative-docs-integration-tests |
|
According to the build log, the e2e tests failed at https://github.com/knative/docs/blob/master/test/e2e/sampleapptestbase.go#L111 or https://github.com/knative/docs/blob/master/test/e2e/sampleapptestbase.go#L114 due to tests running too long: |
|
Yeah, it's definitely an issue with the tests. Hey @chaodaiG , could you take a look at this failure? |
|
Master branch looks fine to me, and these change shouldn't break test |
|
/hold |
|
/retest
…On Thu, Jun 20, 2019, 4:42 PM Knative Prow Robot ***@***.***> wrote:
@jingweno <https://github.com/jingweno>: The following test *failed*, say
/retest to rerun them all:
Test name Commit Details Rerun command
pull-knative-docs-integration-tests e22ed7b
<e22ed7b>
link
<https://gubernator.knative.dev/build/knative-prow/pr-logs/pull/knative_docs/1491/pull-knative-docs-integration-tests/1141846708116787201/> /test
pull-knative-docs-integration-tests
Full PR test history <https://gubernator.knative.dev/pr/knative_docs/1491>.
Your PR dashboard <https://gubernator.knative.dev/pr/jingweno>.
Instructions for interacting with me using PR comments are available here
<https://git.k8s.io/community/contributors/guide/pull-requests.md>. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
<https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:>
repository. I understand the commands that are listed here
<https://go.k8s.io/bot-commands>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1491?email_source=notifications&email_token=AKXNDYMPMQEIMSABQS4QFNLP3QIXHA5CNFSM4HZNGJCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYHAYXI#issuecomment-504237149>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKXNDYPNXWTR2H4SSHVYZJLP3QIXHANCNFSM4HZNGJCA>
.
|
|
@Fredy-Z:
I think the broker/trigger doc fix is better to be in another PR because this one is about updating the doc for the new |
My PR is to update docs of release-0.6 branch. |
|
/hold cancel |
|
/hold |
| template: | ||
| spec: | ||
| containers: | ||
| - image: <heartbeats_image_uri> |
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.
Seems container name is missed here, this yaml template will result in an error.
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.
@Fredy-Z Good catch. Fixed.
| containers: | ||
| # This corresponds to a heartbeats image uri you build and publish, | ||
| # e.g. gcr.io/[gcloud-project]/github.com/knative/eventing-contrib/cmd/heartbeats | ||
| - image: index.docker.io/jingweno/heartbeats-6410d29c99b6ec4e0dd2fb3e6e31829e |
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.
Ditto.
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.
Fixed
e22ed7b to
9831069
Compare
knative/eventing#1321 introduces `PodTemplateSpec` to `ContainerSourceSpec`. This feature will be out in 0.7.x. Update documentation to reflect the `template` field.
9831069 to
30f4119
Compare
|
/hold cancel |
|
@Fredy-Z:
Gotcha. I saw that you also fixed master: #1504. I should have addressed all feedback in this PR. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jingweno, samodell 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 |
…1491) knative/eventing#1321 introduces `PodTemplateSpec` to `ContainerSourceSpec`. This feature will be out in 0.7.x. Update documentation to reflect the `template` field.
Fixes knative/eventing#1348
Proposed Changes
knative/eventing#1321 introduces
PodTemplateSpectoContainerSourceSpec. This feature will be out in 0.7.x. Updating documentation to reflect thetemplatefield.