Navid Shaikh
ad4a7b18a2
Pin deps back to master ( #1082 )
...
* Update autoscaling annotation validation
see ref: https://github.com/knative/serving/pull/9496
* Replace DeprecatedInjectionAnnotation with InjectionAnnotation
* Vendor deps at master
* Use context.TODO instead of context.Background
2020-10-30 08:15:35 -07:00
Ying Chun Guo
6ed76ae2c2
uniform multiple writeSink into DescribeSink ( #1075 )
2020-10-29 06:44:34 -07:00
knative-automation
6d00de6f1d
Update common github actions ( #1081 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2020-10-28 19:38:34 -07:00
Ying Chun Guo
ed674822fe
Add ResolvePodSpec to podspec.go and move the related utilities to podspec_helper ( #1024 )
...
* moving utilities of handling podspec to podspec_helper
* address comments
* refactor code base
* change the input parameter from ccmd to flagset
* remove comments and add CHANGELOG
2020-10-27 10:45:33 -07:00
Navid Shaikh
abb75e4da2
fix(tekton e2e): Fix CONTAINER_REGISTRY name generation ( #1074 )
...
* fix(tekton e2e): Fix CONTAINER_REGISTRY name generation
var `E2E_BASE_NAME` is no longer available
* debug: Run tekton tests
* Revert "debug: Run tekton tests"
This reverts commit dbe125ee04 .
2020-10-26 08:38:41 -07:00
knative-automation
84eb376b8a
Update common github actions ( #1072 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2020-10-25 22:10:41 -07:00
Ying Chun Guo
25b537b187
fix golangci-lint errors ( #1068 )
2020-10-18 23:20:58 -07:00
Navid Shaikh
40a840367a
chore(e2e): Run e2e against eventing v0.18.3 ( #1063 )
2020-10-15 15:01:56 -07:00
Roland Huß
2c6a4c667e
Fix bogus warning in build.sh ( #1064 )
2020-10-15 14:27:05 -07:00
Matt Moore
24e7f50dfb
upgrade to latest dependencies ( #1062 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-15 14:26:56 -07:00
Navid Shaikh
ce1f43cce2
fix(e2e): Remove "serving.knative.dev/route" revision label ( #1067 )
...
Dont expect mentioned key on the revision labels in service
expect tests now. The test is skipped for serving v0.18 release
and configured to only against current serving master.
see #https://github.com/knative/serving/pull/9710
2020-10-15 13:15:56 -07:00
Matt Moore
880aa1ae19
Update common github actions ( #1061 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-13 23:28:31 -07:00
Josh Soref
4939c5ede3
Fix various misspellings and linter items ( #1057 )
...
* spelling: additional
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bindings
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: blocked
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bootstrap
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: channel
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: channel
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: commands
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: comparison
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: configuration
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: controller
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: convert
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: desired
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: dynamic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: entry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: execute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: explicit
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: hardcoded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: information
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: inject
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: item
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: kubectl
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: latest
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: message
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: namespace
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: namespaces
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: output
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overriding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: parameters
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: revision
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: separated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: separator
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: service
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: specified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: specifies
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: splitting
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subscription
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: trigger
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unknown
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unstructured
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: workflow
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* chore: Address golinter complaint for (c *MockKnServingClient) GetBaseRevision
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* chore: update changelog for spelling fixes (#1057 )
2020-10-12 21:24:30 -07:00
Navid Shaikh
f7ddef522f
Update CHANGELOG ( #1060 )
...
carry the updated changelogs from release-0.17 and release-0.18 branches
2020-10-12 06:16:17 -07:00
Zbynek Roubalik
4ebd7ed604
Add WithLabel list filter to serving client lib ( #1054 )
...
* add WithLabel list filter
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
* adding tests
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
* update changelog
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2020-10-09 07:26:21 -07:00
Navid Shaikh
145c9f0522
fix(docs): Fix message broker doc ( #1056 )
2020-10-09 04:12:21 -07:00
Daniel Helfand
9931c2d07a
add aliases to help command and remove aliases in short ( #1055 )
2020-10-09 00:09:21 -07:00
Roland Huß
878b037c16
Fix for test flake when sync waiting and an intermediate error occurs ( #1052 )
...
* fix: Cancel error timer on sync wait when a non-error event arrives
* chore: Added
2020-10-08 05:30:21 -07:00
Roland Huß
b13cd70490
Update CHANGELOG.adoc for version 0.18.0 ( #1050 )
...
* Update CHANGELOG.adoc for version 0.18.0
* Update CHANGELOG.adoc
Co-authored-by: David Simansky <dsimansk@redhat.com>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2020-10-07 00:55:20 -07:00
Navid Shaikh
2593e73541
Carry CHANGELOG from v0.17.1 patch release ( #1049 )
...
to the master branch
2020-10-06 23:13:20 -07:00
kaustubh
d9d52346e7
feat: List available channel types ( #1027 )
...
* add channel list-types
* add kn channel list-types doc
2020-10-06 13:17:20 -07:00
Mike Petersen
0997cb05b6
Added back functionality to deprecated max-scale/min-scale ( #1010 )
...
* Added back functionality to deprecated max-scale/min-scale
* Updated based on review, removed duplicate code and added an or statement, also updated deprecated message
2020-10-06 11:07:21 -07:00
Navid Shaikh
6baab2eda4
fix(e2e): Run eventing e2e tests only against nightly and fix service export tests ( #1046 )
...
* fix(e2e): Run eventing e2e tests only against master
* fix(e2e): [service export] Service links are disabled by default
see https://github.com/knative/serving/pull/9685
2020-10-06 09:17:21 -07:00
Arghya Sadhu
5025137f5a
add alias to commands ( #1041 )
2020-10-06 03:57:21 -07:00
Navid Shaikh
aa6c4ad22a
fix(e2e): Let the subscription and related resource reconcile ( #1044 )
...
sleep for 5 seconds after subscription create and update in e2e
2020-10-06 00:45:20 -07:00
Navid Shaikh
adb3793b98
chore: Update version command for release v0.18.0 ( #1037 )
...
Mention serving/eventing vendor version v0.18.0
2020-10-02 08:21:32 -07:00
Navid Shaikh
ce519b520b
feat: Subscription CRUD ( #1013 )
...
* feat: Add subscription CRUD
- Add kn subscription command group and CRUDL sub-commands
- create/update uses following flag names for better alignment:
- --sink for subscriber
- --sink-reply for reply
- --sink-dead-letter for dead-letter-sink
- Add 'subscriptions' and 'sub' aliases
- Introduce shared library `knative.dev/client/lib/printing`
to print Sink object in describe output
* Set default channel type messaging.knative.dev/v1beta1:Channel
i.e. if no prefix is given to `--channel`, consider it of `Channel` type
* Update e2e tests
* Update channel flag description
2020-10-01 09:44:29 -07:00
Arghya Sadhu
2c67eb9d7c
update error message when autoscaling annotation used in service ( #1038 )
2020-10-01 01:42:30 -07:00
Arghya Sadhu
e8ae0e1537
adding annotation-service and annotation-revision to kn create/update ( #1029 )
2020-09-30 07:48:29 -07:00
Navid Shaikh
769a5c0f1b
chore(e2e): Run e2e against serving/eventing v0.18.0 ( #1036 )
2020-09-30 05:12:29 -07:00
Zhimin Xiang
574327f7db
Ping serving and eventing to release-0.18 ( #1033 )
2020-09-29 22:41:28 -07:00
Matt Moore
0bf9aa4746
upgrade to latest dependencies ( #1028 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-29 03:32:28 -07:00
Matt Moore
a39903ba78
Run github.com/client9/misspell ( #1030 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-25 07:45:44 -07:00
Zhimin Xiang
9b210e3be1
[Release-0.18] Pin knative deps to release-0.18 ( #1025 )
...
* Pin pkg to release-0.18 version
* ./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh
* bump k8s version to 1.18.8
* Fix the brokerage of importing latest serving
* exclude script/test-infra md from md check
2020-09-23 11:58:41 -07:00
Martin Gencur
f4e43c82d4
Print logs from PipelineRun pods when Tekton tests fail ( #1019 )
2020-09-22 01:17:36 -07:00
David Simansky
719269e891
fix: Fix autoscaling annotations in Service metadata ( #1021 )
...
* fix: Fix autoscaling annotations in Service metadata
* chore: Add test cases
* fix: Rerun codegen
* chore: Split UpdateAnnotations to dedicated functions
2020-09-22 00:06:37 -07:00
Martin Gencur
1607bf8c0c
Remove -mod=readonly from the helloworld's Dockerfile ( #1017 )
...
The go.mod file was removed in
4ea31c444a
, and breaks building using Tekton.
The error is as follows:
STEP 3: COPY ./test/test_images/helloworld/ .
STEP 4: RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -v -o server
build flag -mod=readonly only valid when using modules
subprocess exited with status 1
subprocess exited with status 1
error building at STEP "RUN CGO_ENABLED=0 GOOS=linux go build
-mod=readonly -v -o server": exit status 1
2020-09-17 16:03:44 -07:00
Himanshu Ranjan
043c3b9e87
CHANGELOG entry ( #1012 )
2020-09-15 09:27:41 -07:00
Himanshu Ranjan
6c7fc7ca70
Add changes for --scale-init support ( #990 )
...
* Add changes for --scale-init support
* Added test cases
* Add test case in e2e tests
* minor fix
* Test case failure fix
* Incorporated review comments
* Add service update test cases
* Incorporate review comments
2020-09-15 02:51:41 -07:00
Paul Morie
fb47409837
Fix a couple typos in README ( #1007 )
2020-09-11 14:56:01 -07:00
Markus Thömmes
8f7088f0c0
Add linting config and fix issues. ( #1001 )
2020-09-11 05:41:00 -07:00
David Simansky
a1b4f39814
fix: Fix service export example doc ( #1006 )
...
* fix: Fix service export example doc
* chore: Update changelog
* fix: Add newline divider
2020-09-11 04:07:00 -07:00
Murugappan Chetty
77564112df
add e2e for h2c ( #1000 )
...
* add e2e for h2c
* add e2e for h2c
* add e2e for h2c
* add symlink for grpc example
* add symlinks
* add symlink
2020-09-11 03:32:00 -07:00
Navid Shaikh
78ef3bb3f0
Fix channel create example with inbuilt alias for imcv1beta1 ( #1005 )
...
use `imcv1beta1` alias reference in the example
2020-09-10 02:56:51 -07:00
David Simansky
e7b74a9863
fix: Fix service export annotations ( #1004 )
...
* fix: Fix service export annotations
* fix: Regen code
* fix: Skip test until 0.18 is available
* fix: Skip on specific version only
2020-09-10 01:19:50 -07:00
Roland Huß
c801e8205a
fix: Make API parameter type public ( #996 )
...
Fixes #988
2020-09-02 00:50:16 -07:00
Roland Huß
8fcd25c36b
update changelog for 0.17.0 ( #992 )
...
* update changelog for 0.17.0
* Update CHANGELOG.adoc
Co-authored-by: Navid Shaikh <nshaikh@redhat.com>
* Update CHANGELOG.adoc
Co-authored-by: Navid Shaikh <nshaikh@redhat.com>
* Update CHANGELOG.adoc
Co-authored-by: Navid Shaikh <nshaikh@redhat.com>
Co-authored-by: Navid Shaikh <nshaikh@redhat.com>
2020-08-26 01:32:06 -07:00
Navid Shaikh
5ed353d36b
feat(channel): Manage knative eventing channels ( #967 )
...
* feat(channel): Manage knative eventing channels
- Support specifying the type of channel to create using --type.
- Default is to use messaging layer configuration for channels
- Channel type aliases via kn config and alias for InMemoryChannel
- User can now configure channel type aliases in kn config and specify
alias to GVK mappings for easy reference on CLI and refer with `--type` flag
- User can also use inbuilt alias 'imc' for InMemoryChannel
* Let channel reconcile, sleep for 5 secs after creation
* Add imcv1 and imcv1beta1 aliases
* Rename imcv1 alias to imc
2020-08-25 09:25:49 -07:00
Roland Huß
a01861b1f3
Add support for internal plugins ( #902 )
...
* chore: Add support for internal plugins
* added test for internal plugin lookup
* add changelog entry
* fix formatting
* update to latest changes on main
* Added more tests + some docs
* formatting fix
* moved to proper injection label for setting up the broker in integration test
2020-08-25 04:34:48 -07:00
Navid Shaikh
c528e32155
Add dev notes for fetching description from source plugin ( #987 )
...
Add TODO note for KafkaSource description text about desired
mechanism to fetch the description from available source plugin
2020-08-21 14:13:46 -07:00