Commit Graph

696 Commits

Author SHA1 Message Date
knative-automation a93b9b4e94
Update knative/community files (#1275)
Signed-off-by: Knative Automation <automation@knative.team>
2021-03-31 03:13:21 -07:00
knative-automation 49ca6d9e22
Update common github actions (#1268)
Signed-off-by: Knative Automation <automation@knative.team>
2021-03-31 00:43:22 -07:00
Navid Shaikh 885f2a9bc9
Update --sink flag description (#1271)
for referring to a Knative service in another namespace by
 'ksvc' prefix explicitly, for e.g. 'ksvc:name:namespace'
 xref: https://github.com/knative/client/pull/1264
2021-03-30 01:23:20 -07:00
Matej Vasek c62842355a
Use context.Context in API methods (#1274)
* Refactor: add ctx param to KnServingClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from knServingClient to ServingV1Interface

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Making wait function cancellable

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Handling SIGINT and SIGTERM

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnEventingClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from knServingClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup style

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Removing unnecessary dependency

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnChannelsClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from knServingClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnSubscriptionsClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from subscriptionsClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnSinkBindingClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from knBindingClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnDynamicClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from knDynamicClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnAPIServerSourcesClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from APIServerSourcesRecorder to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnContainerSourcesClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from containerSourcesClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: add ctx param to KnPingSourcesClient funs

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Passing ctx from pingSourcesClient to knative.dev interfaces

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Using cmd.Context() in pkg/kn/commands

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Test using background ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Removing ctx param from RawClient()

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* ctx for watch/polling

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix per review request

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: extract ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Refactor: Namespace not requiring ctx

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Revert "Handling SIGINT and SIGTERM"

This reverts commit 9598646fda.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Update CHANGELOG

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Add test for Wait()

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Add test for Wait()

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-26 09:23:20 -07:00
Martin Gencur 43b669fe9f
Pass revision to git-clone Tekton task - fix nightly Tekton tests (#1270)
* Pass revision to git-clone Tekton task

* the branch main branch has been renamed from "master" and the default
value for the git-clone task is no longer valid

* TMP: Test Tekton in-presubmit

* Revert "TMP: Test Tekton in-presubmit"

This reverts commit 23649c9a71.
2021-03-19 07:39:53 -07:00
Kaustubh Pande 431637a1d9
add support for namespace for all commands that takes --sink option (#1264) 2021-03-18 06:41:54 -07:00
David Simansky 6a4f308e5e
Fix linting error SA5011 (#1265) 2021-03-15 17:09:41 -07:00
Kaustubh Pande 2ad8dfe483
add --prune & --prune-all options to delete all the unreferenced revisions (#1217) 2021-03-15 02:26:00 -07:00
knative-automation d68cde6ebe
upgrade to latest dependencies (#1262)
bumping knative.dev/pkg c326b70...4048853:
  > 4048853 Drop master references to knative repos (# 2050)
bumping knative.dev/networking 0770f41...430a689:
  > 430a689 Add arturenault as networking reviewer (# 369)
  > f51c10d upgrade to latest dependencies (# 370)
  > d8e8d36 Update common github actions (# 367)
bumping knative.dev/serving 00cf77d...1583394:
  > 1583394 Add start and end time of failing requests (# 10939)
  > 6065e72 Update net-kourier nightly (# 10923)
  > 70dd918 upgrade to latest dependencies (# 10942)
  > e61757f Add arturenault as networking reviewer (# 10941)
  > b380071 Fix inconsistency flake in TestGlobalResyncOnActivatorChange (# 10935)
  > b7b671f Make all informer tests use the new helper (# 10930)
  > 103aa92 Update net-istio nightly (# 10937)
  > 2e3fbfb Redisable chaos duck for autoscaler (# 10928)
  > c906ecb upgrade to latest dependencies (# 10927)
bumping knative.dev/eventing 9be1470...3b42737:
  > 3b42737 Smoke Tests on SinkBinding (# 5049)
  > 6cefb29 smoketest a channel (# 5052)
  > f80dc0c upgrade to latest dependencies (# 5056)
  > 52757a6 Format markdown (# 5055)
  > c8bfaea upgrade to latest dependencies (# 5054)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-12 14:09:00 -08:00
knative-automation d65a649872
Update common github actions (#1261)
Signed-off-by: Knative Automation <automation@knative.team>
2021-03-11 12:53:25 -08:00
knative-automation b00fd21b81
upgrade to latest dependencies (#1260)
bumping knative.dev/eventing 879407f...9be1470:
  > 9be1470 Update common github actions (# 5053)
  > 4c5b31b upgrade to latest dependencies (# 5045)
  > ec309b1 bash v4 is required (# 5044)
  > ce0bec7 swap lberk / slinkydeveloper (# 5048)
bumping knative.dev/pkg 0f8d8de...c326b70:
  > c326b70 Add RunAndSyncInformers helper that makes sure informers are synced in tests (# 2055)
  > 9eeb66f Update common github actions (# 2056)
  > bbe0bb3 Implement getter machinery to generically fetch all injected clients (# 2054)
  > 85bc723 Add benchmark for metrics recording (# 2052)
  > cc278e1 upgrade to latest dependencies (# 2053)
bumping knative.dev/serving 86cc36d...00cf77d:
  > 00cf77d Update common github actions (# 10933)
  > 0041ede Format markdown (# 10934)
  > 01e2d38 Afterthough: we should probably report the current value as well (# 10932)
  > 6b1dc1d Update net-certmanager nightly (# 10922)
  > 491f288 Drop master references to knative repos (# 10918)
  > a6cd9f0 Update net-contour nightly (# 10903)
bumping knative.dev/networking 42a36ac...0770f41:
  > 0770f41 upgrade to latest dependencies (# 368)
  > 5a157db Update KIngress rule path to be a literal string (# 364)
  > b4ddb9a Drop unnecessary occurrences of master (# 366)
  > f3ff07d upgrade to latest dependencies (# 365)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-11 12:16:26 -08:00
knative-automation 0abc1b8806
upgrade to latest dependencies (#1257)
bumping knative.dev/pkg 737401c...0f8d8de:
  > 0f8d8de Update common github actions (# 2051)
  > 185e333 Run downstream action on master branch too (# 2049)
bumping knative.dev/eventing 6136d09...879407f:
  > 879407f smoke test more variants of pingsource (# 5042)
  > 0e2557b Update common github actions (# 5034)
  > 2fb1dd9 upgrade to latest dependencies (# 5035)
  > 2164ff0 Format markdown (# 5037)
  > 5b2912a fix # 4986 remove pingsource adapter (# 5002)
  > 37e7027 Drop master references to knative repos (# 5036)
  > 32fc262 adding ping source smoke test (# 5033)
  > a4840f1 only build linux/amd64 (# 5032)
  > 65e14cf add UT for subscription delete/create failures (# 5031)
  > 8937481 break apart rekt tests from e2e tests (# 5025)
  > 149ebe6 Run kind actions on main branch as well (# 5024)
  > abd6f98 upgrade to latest dependencies (# 5022)
bumping knative.dev/serving dae56e1...86cc36d:
  > 86cc36d Validate default max scale is set if max scale limit is enabled (# 10921)
  > d1aa2ed Update the rollout benchmark to use the new algorithm (# 10911)
  > d10d1a5 Update net-istio nightly (# 10924)
  > f7ecef1 Update common github actions (# 10920)
  > 21868c6 Update net-istio nightly (# 10914)
  > d51a7cc Drop mattmoor from Serving (# 10916)
  > 1640d27 Run kind actions on main branch as well (# 10915)
  > 66cd8ee Bump autoscaler resources to be equal to controller resources (# 10865)
bumping knative.dev/hack f99a255...9b73a25:
  > 9b73a25 Drop unnecessary occurrences of master (# 53)
bumping knative.dev/networking 1b3d24e...42a36ac:
  > 42a36ac Update common github actions (# 363)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-10 03:00:25 -08:00
David Simansky 95ccaeb648
Use common Eventing setup from hack library (#1258)
* Use common Eventing setup from hack library

* fix: Keep eventing core though
2021-03-10 02:24:25 -08:00
knative-automation 3002b641f7
Update common github actions (#1253)
Signed-off-by: Knative Automation <automation@knative.team>
2021-03-10 01:32:25 -08:00
David Simansky ca5299334e
Use net-istio provided version in E2E setup (#1256)
* WIP: Use net-istio provided version in E2E setup

* fix: Fix version string

* fix: Fix header

* chore: Cleanup istio setup script
2021-03-10 00:51:25 -08:00
Markus Thömmes 95b0db5b96
Drop master references to knative repos (#1254) 2021-03-09 03:42:25 -08:00
Tonia Elengikal a9687c6417
kn source-list types: adding column to specify built-in source (#1246)
* # This is a combination of 9 commits.
# This is the 1st commit message:
adding BUILT-IN SOURCE column for kn source list-types

# The commit message #2 will be skipped:

#	changing list test to check for BUILT-IN SOURCE column

# The commit message #3 will be skipped:

#	changing e2e source list test to check for BUILT-IN SOURCE column

# The commit message #4 will be skipped:

#	adding CHANGELOG entry

# The commit message #5 will be skipped:

#	kn source list-types: changing BUILT-IN SOURCE to BUILT-IN and moving DESCRIPTION column to the end

# The commit message #6 will be skipped:

#	changing BUILT-IN SOURCE to BUILT-IN in changelog

# The commit message #7 will be skipped:

#	Update CHANGELOG.adoc
#
#	Co-authored-by: David Simansky <dsimansk@redhat.com>

# The commit message #8 will be skipped:

#	kn source list-types: changing column header to S, values to X, and moving to second column

# The commit message #9 will be skipped:

#	fixing CHANGELOG merge conflict

* adding BUILT-IN SOURCE column for kn source list-types
2021-03-09 02:45:25 -08:00
Roland Huß 9fa8d6b96e
Add David as approver (#1255)
David meets all criteria for an approver:

- [x] Reviewer for at least 3 months
- [x] Primary reviewer for at least 10 substantial PRs to the codebase, e.g.
  * https://github.com/knative/client/pull/1246
  * https://github.com/knative/client/pull/1194
  * https://github.com/knative/client/pull/738
  * https://github.com/knative/client/pull/832
  * https://github.com/knative/client/pull/1016
  * https://github.com/knative/client/pull/877
  * https://github.com/knative/client/pull/667
  * https://github.com/knative/client/pull/697
  * https://github.com/knative/client/pull/1212
  * https://github.com/knative/client/pull/835
- [x] Reviewed at least 30 PRs to the codebase ([38 assigned PRs](https://github.com/knative/client/pulls?q=type%3Apr+assignee%3Adsimansk+))
- [x] Nominated by a WG lead (rhuss)

Congrats David ! Thanks a lot for your awesome work & contributions.
2021-03-09 01:57:25 -08:00
knative-automation ead33446ce
upgrade to latest dependencies (#1252)
bumping knative.dev/eventing 554c1cc...6136d09:
  > 6136d09 rename mtbroker dirs / package to just broker (# 5021)
  > e8bc8ed Change more internal usages of v1beta1 to v1 (# 5020)
  > 536e0aa sugar uses v1 versions of broker / trigger (# 5019)
  > f736471 Format markdown (# 5014)
  > 15c4916 upgrade to latest dependencies (# 5006)
  > 9d73c4d remove v1alpha.configmappropagations (# 5018)
bumping knative.dev/hack 8368e1f...f99a255:
  > f99a255 Schema tool for reflective schema generation. (# 51)
bumping knative.dev/networking f813b59...1b3d24e:
  > 1b3d24e upgrade to latest dependencies (# 362)
bumping knative.dev/pkg 8fbab7e...737401c:
  > 737401c upgrade to latest dependencies (# 2047)
  > 7f753ea Slash off 5s from TestAdmissionValidResponseForResource (# 2046)
  > 1002883 Add kn-plugin-admin to downstream tests (# 1983)
  > 04fdbd7 Add WaitForCacheSyncQuick and use it in tests (# 2045)
bumping knative.dev/serving a4908c6...dae56e1:
  > dae56e1 Update net-kourier nightly (# 10913)
  > 03e15be Fix locking (# 10910)
  > 7b1c480 upgrade to latest dependencies (# 10909)
  > e50cc97 Revert Parallelise tests in activator/net (# 10880) (# 10904)
  > e718cd4 Use atomic.Value rather than unsafe.Pointer (# 10901)
  > a92d5ff Fix polling condition in KPA test (# 10899)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-08 10:35:23 -08:00
David Simansky d44f25d350
feat: Add knb plugin build tool (#1226)
* feat: Add knb plugin build tool

* fix: Fix lint errors

* fix: Fix trailing whitespaces in readme

* fix: Fix error msg

* fix: Fix all error msg

* fix: Move knb to sub-dir tools/knb

* fix: Add new dir to sources

* fix: Reflect review feedback

* fix: Reflect review feedback in readme

* fix: Code formatting

* fix: Fix gosec errors
2021-03-08 00:22:21 -08:00
Navid Shaikh d49194648b
docs: About e2e prow jobs (#1250) 2021-03-05 15:43:21 -08:00
knative-automation e6cf1ce04e
upgrade to latest dependencies (#1247)
bumping knative.dev/serving 472f8e2...a4908c6:
  > a4908c6 Fix wrong function name in test log (# 10902)
  > 6e46a52 Format markdown (# 10898)
  > 6087145 e2e - wait for deployments to be available (# 10883)
  > 5b07374 Update net-certmanager nightly (# 10888)
  > 39cd0ea Update net-contour nightly (# 10886)
  > 2955f95 rename queueproxy flag probe-period to probe-timeout (# 10855)
  > 17e40b1 Bump timeout to (hopefully) avoid flake (# 10892)
  > b089ba7 Update net-istio nightly (# 10889)
  > 59c9461 Update contributing link (# 10894)
  > c508400 Update net-kourier nightly (# 10887)
  > 3ee7319 upgrade to latest dependencies (# 10884)
  > 267697a Add DomainMapping namespace label annotation (# 10868)
  > c4e05e5 Lint use of type-safe atomics (# 10882)
  > 9419b6a Update net-kourier nightly (# 10877)
  > 6d84c5b Don't override the queue-proxy image on pre-upgrade tests (# 10872)
  > 0b07d94 Parallelise tests in activator/net (# 10880)
  > 4301fa1 Update net-contour nightly (# 10876)
  > eb873de Update net-istio nightly (# 10875)
  > 79faf2b Use type-safe atomics (# 10881)
  > 94451d1 Make sure to reinitialise loop var in parallel tests (# 10879)
  > 041dca1 upgrade to latest dependencies (# 10874)
  > e9ea07e Only use exec probe at startup time (# 10741)
  > 6dcd8a6 Extend the e2e tests to use the new weighted averaging algorithms (# 10859)
  > 9478d4e Update net-contour nightly (# 10870)
  > 8e0ac01 Update net-kourier nightly (# 10869)
  > 092ddd9 Apply security best practises to domain-mapping-webhook (# 10867)
  > cd77781 Update net-kourier nightly (# 10863)
  > 2743018 Update net-istio nightly (# 10864)
  > f397d58 Use new filter function constructors (# 10862)
  > 26fd2fc upgrade to latest dependencies (# 10866)
bumping knative.dev/eventing 2db6877...554c1cc:
  > 554c1cc Delete unused params in IMC controller reconciler (# 5015)
  > db81746 fix # 4994 use trigger's namespace only when subscriber's namespace is nil (# 4995)
  > dbf1859 Remove v1alpha1 channelable (# 5005)
  > ef6d89e upgrade to CRDv1, add more unit tests around the workings of event types (# 5013)
  > d6d48a7 add unit tests to reconciler/source/config_watcher (# 5012)
  > 21bcd68 Add buckets example to config-leader-election CM (# 4993)
  > 0f2612e add test for trigger having a wrong UID (# 5004)
  > 4282f45 fix broken in-mem ns mode (# 4906)
  > 9089b8e adding code coverage to adapters v2 (# 5000)
  > eb12f8a update to breaking change for feature.T in reconciler-test (# 5003)
  > c5f92fa upgrade to latest dependencies (# 5001)
  > f220668 add more coverage (# 4999)
  > fba3dbf Use common script in GH Actions (# 4997)
bumping knative.dev/networking 54c0eb1...f813b59:
  > f813b59 upgrade to latest dependencies (# 361)
  > c369ab0 upgrade to latest dependencies (# 360)
bumping knative.dev/pkg 9039dc1...8fbab7e:
  > 8fbab7e Redo the comment a bit further (# 2042)
  > 08fc626 Fix comment for skipKeyError (# 2041)
  > 2bc944b Fix race: Make informed watcher start wait for Add event 🏎️ (# 2036)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-05 15:06:20 -08:00
Murugappan Chetty 72f260257e
add changelog for 1212 (#1249) 2021-03-04 10:57:16 -08:00
Murugappan Chetty 609d1741f3
kn export defect to honor mode (#1212)
* kn export defect to honor mode

* add test for export mode without revisions

* change default to export

* add export as default

* change tests for export mode change
2021-03-04 06:00:15 -08:00
David Simansky ffe385a34e
chore: Update CRDs API version to v1 (#1248)
* chore: Update CRDs API version to v1

* fix: Fix e2e test

* chore: Add changelog entry
2021-03-04 02:23:15 -08:00
knative-automation 270e322401
upgrade to latest dependencies (#1245)
bumping knative.dev/networking 94bfc01...54c0eb1:
  > 54c0eb1 upgrade to latest dependencies (# 358)
  > d5e05ad Update common github actions (# 357)
bumping knative.dev/serving b9576f5...472f8e2:
  > 472f8e2 drop k8s 1.17 from kind e2e testing (# 10854)
  > c1a0496 Fix race condition with Prober logger in upgrade tests (# 10815)
  > 527416d upgrade to latest dependencies (# 10861)
  > 0282521 Introduces h2c auto-detection support in health prober (# 10628)
  > 4aa9840 Thread the metric aggregation algorithm through collector. (# 10850)
  > 6826a1b Don't validate autoscaling annotations where they're not allowed (# 10847)
  > b039ea5 Update net-contour nightly (# 10853)
  > a8e67e0 Add algorithm possible values and annotation validation. (# 10846)
  > cbc2a29 Update net-istio nightly (# 10849)
  > 56f645c Update net-contour nightly (# 10842)
  > ee588f5 Add the annotation for averaging algorithm selection. (# 10840)
  > 18b149f Update the setup of HTTP01 challenge tests (# 10843)
  > c4193ed relax annotation constraints and some cleanup (# 10837)
  > 6e788d7 Fix KeepAlives for HTTPProbe (# 10820)
  > 86b92e0 bump k8s versions for kind e2e (# 10809)
  > 28b910b More deep cleaning of the Route reconciler it needed for some time. (# 10839)
  > a70d100 Use Revision from context in request log (# 10836)
  > a675c75 Backfill some test coverage for annotation validation (# 10834)
bumping knative.dev/eventing 207aa26...2db6877:
  > 2db6877 Add missing singular resource names to source/sinkbinding crds (# 4992)
  > 184fa2f mtping adapter now cleans up internal cache when it stops leading (# 4908)
  > 6fb67cd update deps + codegen (# 4990)
  > 00b44e9 Format markdown (# 4980)
  > 235dba5 refactor for better testability, add ut (# 4979)
  > 44b0a0e Add roadmap for 2021 for Eventing, Eventing Sources and Event Delivery WGs (# 4863)
  > 5451f19 add more ut coverage (# 4978)
bumping knative.dev/pkg 584933f...9039dc1:
  > 9039dc1 moved release docs to github.com/knative/release (# 2040)
  > 07b5ddf add demoteFunc controller option (# 2033)
  > 8a8de5f Move IsKProbe to drainer, since it's the only place it's used (# 2038)
  > 5367a43 Fix potential deadlock when k8s client is used (# 2031)
  > b5bf07b adding retry event count metric for source (# 2016)
  > 17a36e7 Format markdown (# 2037)
  > 29be1c1 Add the release badge for all of the repos (# 2035)
  > e90ac15 Remove the system.Clock and it's mock in a different location (# 2034)
  > 8a9bf76 Add symmetric filter helped based on OwnerRefable. (# 2032)
  > 29092fe Format markdown (# 2030)
  > d733bb4 Add nightly badged to release tables (# 2029)
  > 7b5bcc3 Use the constant for UserAgent (# 2028)
  > 86a8236 Format markdown (# 2025)
  > 6c2f94a Unregister views to avoid slow oom issue during meter cleanup (# 2005)
  > 7689cce Update common github actions (# 2024)
  > f4650d8 Add releasability badges for each repo (# 2023)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-01 15:06:49 -08:00
dr.max 30be4b6efc
Adding dsimansk to reviewers: (#1244)
Thanks David for sustain and excellent contributions
2021-02-24 10:49:47 -08:00
dr.max 2c78e60bc8
Adding itsmurugappan to the `reviewers:` list (#1243)
I am assuming the block is `reviewers:` (plural)
/assign @rhuss
2021-02-24 08:49:47 -08:00
David Simansky 3e0f108ba3
chore: Update E2E setup to latest release (#1242) 2021-02-24 08:03:47 -08:00
Roland Huß 5f68d61295
update: Change default to server-side generated revision names (extended) (#1240)
* update: Change default to server-side generated revision names

Fixes #1144

* update: Fix wait loop for synthetic events for which the generations are already in sync

* fix assertion as a service label change does not create a new revision

* fix: --cluster-local does not create a new revision but just changes a service's label

* chore: Fixed formatting

* update: Check generation in update already before doing a watch

* fixed lint issue

* fix test assertions
2021-02-23 23:16:46 -08:00
Roland Huß 09c5129c96
Update to 0.21 deps (#1239) 2021-02-23 12:59:46 -08:00
Roland Huß e94ee7b05d
chore: Update for release 0.21.0 (#1238)
* chore: Update for release 0.21.0

* Update CHANGELOG.adoc

Co-authored-by: Navid Shaikh <navids@vmware.com>
2021-02-23 10:50:46 -08:00
knative-automation 8bcc09fbba
upgrade to latest dependencies (#1237)
bumping knative.dev/serving 8ed54bc...b9576f5:
  > b9576f5 Add the same decoding Revision logic to request_log as context_handler (# 10824)
  > 6ef778d Fix the helpers in the service to be more readable. (# 10833)
  > fa538e3 Make Route table_test more palatable (# 10832)
  > e6ac4a7 Switch single item switch statements to if statements (# 10831)
  > 2a13625 fix various nits (# 10823)
  > 8a1782a Drop some label constraints for our top level resources (# 10808)
  > aca51ad Update net-certmanager nightly (# 10828)
  > 6c1b2a6 Update net-kourier nightly (# 10830)
  > e334a0a Update net-istio nightly (# 10829)
  > 0fddff4 Update net-contour nightly (# 10827)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-23 07:35:46 -08:00
David Simansky 671ee229f3
feat: Add `--context` flag to choose specific context from kubeconfig (#1234)
* feat: Add  flag to choose specific context from kubeconfig

* chore: Generate docs

* chore: Add changelog entry

* fix: Review feedback

Co-authored-by: Roland Huß <rhuss@redhat.com>

* chore: Add --cluster flag to specify cluster from kubeconfig

* chore: Generate docs

* chore: Update changelog

Co-authored-by: Roland Huß <rhuss@redhat.com>
2021-02-23 00:54:46 -08:00
knative-automation dfdf62b1a0
upgrade to latest dependencies (#1235)
bumping knative.dev/serving 2516dae...8ed54bc:
  > 8ed54bc Remove mapToHeader helper. (# 10818)
  > 5600cc6 Remove the User-Agent inline constant with standard constant from pkg (# 10817)
  > c4a8a39 Implement exponential decay algorithm for average computation (# 10803)
  > 5d936c7 Remove unused TimeoutFunc stuff and revert to simple duration (# 10793)
  > 418970e Update docs for revision timeoutSeconds field (# 10806)
  > af6faba Update net-contour nightly (# 10813)
bumping knative.dev/eventing 4e5bdf9...207aa26:
  > 207aa26 Add unit tests for parallel_validation_test (# 4845)
  > 86f455c swap lberk/vaikas shifts (# 4900)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-21 22:30:03 -08:00
knative-automation 18ff596041
upgrade to latest dependencies (#1233)
bumping knative.dev/eventing ef5f61d...4e5bdf9:
  > 4e5bdf9 💄 adding check for -1 status code for the default impl (# 4897)
  > 403aefa Ported Broker ingress conformance test to the new test framework (# 4859)
  > c44a698 upgrade to latest dependencies (# 4896)
  > e063a8d update default-pingsource configmap checksum (# 4895)
  > fb8e3b4 Fixup ping source dataMaxSize configmap (# 4894)
  > 78ee789 Adding checkRetry from kafkaChannel (# 4890)
  > 30d9fa3 Format markdown (# 4891)
  > dbdb339 [doc] Debugging Knative controllers and friends locally with Intellij Idea (# 4886)
bumping knative.dev/serving 7aa62c5...2516dae:
  > 2516dae swap path for domainmapping kingress for kourier (# 10811)
  > 130f8ac Update net-istio nightly (# 10807)
  > cc0209f Remove outdated todo's (# 10804)
  > 493918e Update net-contour nightly (# 10801)
  > 87bf1a9 Update net-kourier nightly (# 10800)
  > 7f9dd35 Update net-certmanager nightly (# 10799)
  > c24dc14 Validate domain mapping is not a cluster local name (# 10798)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-19 10:47:03 -08:00
Roland Huß cd63096b66
Reorg OWNERS and introduced OWNERS_ALIASES (#1229)
This update is for aligning with the other Knative projects so
that a group like the TOC list can be updated with less efforts
in the future.

Also took the occasion to clean up a bit, so removed
@cppforlife and @sixolet as they are not active in the project since
at least one year. Happy to re-add both accounts again in the future.

Thanks a lot Naomi and Dmitriy for all your contribution and kicking off the client !
2021-02-18 03:17:03 -08:00
knative-automation 2930137a32
upgrade to latest dependencies (#1219)
bumping knative.dev/networking 8550923...94bfc01:
  > 94bfc01 upgrade to latest dependencies (# 356)
  > 088986a upgrade to latest dependencies (# 355)
  > 9757667 Add header for signifying that requests should not be loadbalanced again (# 354)
  > 0b3dac0 Update common github actions (# 353)
bumping knative.dev/pkg a02dcff...584933f:
  > 584933f Format markdown (# 2022)
  > 84c98f3 remove reflector metrics (# 2020)
  > adbe77d Updates to the release process with 0.20 (# 1982)
  > 448ae65 Metric unit fixes (# 2018)
  > e38bb89 Update common github actions (# 2017)
bumping knative.dev/eventing 7ce8283...ef5f61d:
  > ef5f61d Update common github actions (# 4888)
  > 84b99db jsonDataLimit# 4055 (# 4233)
  > bb87cb1 Use ConfigAccessor's ToEnvVars method (# 4880)
  > 3c090d3 Remove suffix, since it's already in the PDB kind... 💄 (# 4885)
  > 56dbe58 s/Veroute/Version (# 4882)
  > 82130ea upgrade to latest dependencies (# 4883)
  > 24b1685 Setting tracing config for PingSource (# 4877)
  > 71031c0 💄 Updates for kind (newer version and newer images) (# 4879)
  > d8468ca upgrade to latest dependencies (# 4878)
  > 1c771ce Change broker spec to indicate brokerclass should be immutable (# 4827)
  > d7cf344 tracing fixed for apiserversource (# 4842)
  > 1efec2b expose ChannelReference in UnknownChannelError (# 4875)
  > 47d7a02 Update deps (# 4874)
  > 47ee8fa Update common github actions (# 4869)
  > c4e9c3b ut for trigger/broker updates check immutable (# 4843)
bumping knative.dev/serving ebc6584...7aa62c5:
  > 7aa62c5 Reflow the code to follow a better builder pattern. (# 10796)
  > 317d055 Remove the last check for percentage to be nil (which it can't anymore). (# 10797)
  > c6a28b7 Update common github actions (# 10794)
  > 96f41b5 Update net-kourier nightly (# 10790)
  > 47a730e Update net-contour nightly (# 10789)
  > 30ba285 Update net-certmanager nightly (# 10788)
  > 2cbea46 upgrade to latest dependencies (# 10787)
  > 5b94d2c Monday off cleanup: minor brush up of the traffic.go (# 10786)
  > f5d7845 We removed the possibility of traffic target % being nil (# 10785)
  > 0ff5fc4 Drop outdated HPA code regarding concurrency and RPS (# 10782)
  > 4bfc7e5 Unexport some methods (# 10784)
  > 9778deb Fix race in health state (# 10781)
  > ccbfdad A few touchups around the autoscaling tests (# 10780)
  > 20ddcbe Update net-contour nightly (# 10777)
  > 60fd6be Fix up health state tests (# 10779)
  > 395bda9 Update net-kourier nightly (# 10778)
  > af4c914 Refactor scrape client to actually take an HTTP request (# 10766)
  > 9892df5 upgrade to latest dependencies (# 10775)
  > fc68cd8 disable tls (# 10774)
  > ba73ae7 Resume HTTP01 challenge E2E tests (# 10759)
  > 6fcd198 Update net-contour nightly (# 10761)
  > fabcc2a Remove v2 gc folder. There can be only one. (# 10768)
  > eabab7d Update net-certmanager nightly (# 10760)
  > 0f52ebf Update net-kourier nightly (# 10762)
  > 3816201 upgrade to latest dependencies (# 10758)
  > fd9d9f5 Clean up the code in the service test (# 10756)
  > 81e0d61 Update the docs for the traffic package. (# 10757)
  > 13e15fd Hide the things that are private now in effect (# 10755)
  > 56ef7a9 Relax the grace period minival vaue to be any positive value (# 10754)
  > 4211c26 Update net-contour nightly (# 10752)
  > f2373c3 Update net-istio nightly (# 10753)
  > 4cc5d79 Update net-kourier nightly (# 10737)
  > 3e1dd65 Update common github actions (# 10746)
  > 597896d Deep cleaning of the time manipulation in config and revision and other fixes to the codebase (# 10745)
  > c20629d Remove the redundant test setup now there's just one GC (# 10744)
  > 17fb0e0 Change interface to accept time rather than clock (# 10743)
  > be2c890 Restrict the Clock interface to the passive where possible. (# 10742)
  > 19c8d8e Update net-contour nightly (# 10736)
  > 914855f Refactor: remove labeler v2 package (# 10739)
  > 7d57b94 Guarantee that incoming and outgoing request are measured by the same stat (# 10734)
  > 8dfeb7a Update net-istio nightly (# 10716)
  > ed413bf Update net-certmanager nightly (# 10735)
  > 3cb2bea Drop jwt dependency and match token via regex (# 10727)
  > bfba5b0 Only log about service scraping on first transition. (# 10733)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-16 23:43:02 -08:00
knative-automation a805396105
Update common github actions (#1230)
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-16 13:33:20 -08:00
Markus Thömmes 13f40848e9
Enable gosec linter and fix existing issues (#1228)
* Enable gosec linter

* Fix issues with pointers to loop variables

* Comment on potential security issues
2021-02-16 02:17:26 -08:00
Markus Thömmes b099555c78
Enable unparam linter and fix issues (#1224) 2021-02-16 00:14:35 -08:00
Roland Huß 4f5fbc634d
Update link to contribution guidelines (#1225)
Fixes #1071
2021-02-15 02:45:11 -08:00
Markus Thömmes 9667e4551a
Enable errorlint and fix all issues (#1223)
* Correctly wrap errors everywhere

* Use errors.As and errors.Is for safe checks and casts

* Fix condition
2021-02-12 18:27:38 -08:00
Markus Thömmes d647e44938
Upgrade a few assorted dependencies (#1220)
* Update spf13 deps

* Upgrade gotest.tools and correctly use versioned module

* Regenerate docs
2021-02-12 05:55:50 -08:00
knative-automation 3763be0230
Update common github actions (#1218)
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-11 15:05:08 -08:00
Markus Thömmes 7d431366f5
Drop pkg/errors dependency and replace with stdlib usage (#1221) 2021-02-11 08:31:50 -08:00
knative-automation cbaaf61056
upgrade to latest dependencies (#1216)
bumping knative.dev/serving 8751d91...ebc6584:
  > ebc6584 Avoid deleting a stat if a request raced the reporter (# 10729)
  > c9fc401 upgrade to latest dependencies (# 10732)
  > 68aaa08 Start moving towards k8s standard `Clock` object (# 10731)
  > be32822 Also log the actual diff for easier debugging (# 10730)
  > 230033b Accept 'head' as a parameter for istio version (# 10728)
  > 33bde4d Update net-certmanager nightly (# 10724)
  > 0055bd0 Fix the logic to delete kail log files if the tests pass (# 10723)
  > 5275f50 Update net-kourier nightly (# 10725)
bumping knative.dev/networking e24bdfe...8550923:
  > 8550923 Add a bit more coverage the stat collector (# 352)
bumping knative.dev/eventing 3fcb645...7ce8283:
  > 7ce8283 fix(PingSource)!: event consumer should receive base64-decoded dataBase64 (# 4851)
  > c7a114c Format markdown (# 4857)
  > f777623 Remove Harwayne from OWNERS. (# 4860)
  > f1d55ad remove json-specific logic useless for binary mode (# 4858)
  > 83da202 💄 Latest of kindst image for e2e tests w/ 1.20.2 (# 4854)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-10 15:59:08 -08:00
knative-automation 72aeb1c820
upgrade to latest dependencies (#1207)
bumping knative.dev/hack 8d623a0...8368e1f:
  > 8368e1f guard against set -o unset (# 49)
  > 2b4f6fc disable go's proxy and sumdb only for knative deps (# 47)
bumping knative.dev/networking 8b522a9...e24bdfe:
  > e24bdfe upgrade to latest dependencies (# 350)
  > ab1235e Bump a few assorted dependencies to their latest versions (# 349)
  > 45b7ed1 Add ingress conformance test to ensure we do not add retries (# 348)
  > b61da13 upgrade to latest dependencies (# 347)
  > d2088ff Update common github actions (# 346)
  > c069ad2 Create prober request with context right away (# 344)
  > 342a3fb upgrade to latest dependencies (# 342)
  > 94433ab upgrade to latest dependencies (# 341)
bumping knative.dev/pkg 6040b3a...a02dcff:
  > a02dcff Bump a few assorted dependencies to their latest versions (# 2013)
  > 4b2ae07 Replace deprecated github.com/markbates/inflect with github.com/gobuffalo/flect (# 2014)
  > 8878069 upgrade to latest dependencies (# 2010)
  > c493a9e Update common github actions (# 2009)
  > 6045ed4 Allow setting DisableCompression in NewAutoTransport (# 2007)
  > ca02ef7 Genreconciler properly generates reconciler for Resources with Status (# 2004)
  > 0d31134 Fix nil pointer panic in kvstore (# 2002)
bumping knative.dev/serving e61294b...8751d91:
  > 8751d91 Split the reconcile rollout into its own function (# 10722)
  > 2b95084 Optimize the execution path around logging (# 10720)
  > bbca20f Update net-contour nightly (# 10715)
  > ef39273 upgrade to latest dependencies (# 10719)
  > 6449fb8 upgrade to latest dependencies (# 10717)
  > 45a435a Update net-kourier nightly (# 10706)
  > 2fbef5f upgrade to latest dependencies (# 10713)
  > c4ea4ad Fix the analyzer config for load-testing benchmark since it must have a value (# 10709)
  > 6f46354 Apply k8s default values for readiness probe (# 10700)
  > 8c4b2ff Update net-certmanager nightly (# 10705)
  > b6f618b Update net-istio nightly (# 10704)
  > 390f2c2 bump k8s min in DEVELOPMENT.md (# 10699)
  > f2ccdd5 tests (# 10702)
  > 2090edf Update net-istio nightly (# 10695)
  > 789455d Update net-certmanager nightly (# 10674)
  > 1c61d3b Update common github actions (# 10697)
  > 2bc3650 Update net-kourier nightly (# 10696)
  > 8c64d92 Format markdown (# 10698)
  > 0e77ab2 Update net-kourier nightly (# 10676)
  > dd96a0a Update net-contour nightly (# 10686)
  > 8fbcfb0 Unpin the istio version and temporarily disable the error rate check analyzer (# 10655)
  > 58550fd Avoid adding gzip-encoding to requests implicitly (# 10691)
  > 60cdc35 Move Multi Container test to Beta (# 10683)
  > ae7b278 Update net-istio nightly (# 10687)
  > 7a18f38 Fix some nits in e2e tests (# 10678)
  > 9c572cd Allow to specify build platform for test images (# 10672)
  > 0ee79dd Remove the unsed struct items (# 10684)
  > 29da3af Improve debuggability of SKS logs (# 10679)
  > 8e1d587 upgrade to latest dependencies (# 10682)
  > aef0145 Temporarily disable auto TLS test with HTTP01 challenge  (# 10685)
  > 32b0292 Use lister instead of client to directly get ClusterDomainClaim (# 10677)
  > a19ff15 Update net-istio nightly (# 10675)
  > 6313088 Allow kpa to work with timeout in context (# 10673)
  > af7af61 Perform some test helper cleanup (# 10670)
  > 93d2449 upgrade to latest dependencies (# 10671)
  > 888331e Remove the service name from the internal traffic target object. (# 10669)
  > 1901e4c Use consistent alias for autoscaler v1alpha1 everywhere (# 10666)
  > 1e070a3 Remove context from MakeDecider (# 10657)
  > 452bed5 Further remove usage of the context in the scale runner (# 10653)
  > a1ee2ec bump ggcr & k8schain (# 10651)
  > 81818f9 Fix logging of errors in stats scraper (# 10654)
  > 1b0f43c Hide implementation detail inside a function (# 10652)
  > 756fd17 Update net-istio nightly (# 10648)
  > 6d46d52 Add support for decoding Revision from Host. (# 10647)
  > 01fa1a0 Remove the time computation (# 10645)
  > dbccf2a Do not pass context to the scale, but logger instead (# 10646)
  > ab176fa Rename back to the non deprecated name (# 10640)
  > fae6549 Update net-contour nightly (# 10644)
  > 5cd4f64 Update net-istio nightly (# 10643)
  > fbbbb98 Make route stop using the `DeprecatedServiceName` field (# 10638)
  > bf35e3f 💄 updating the HPAs to v2beta2 API usage (# 10631)
  > 51a9c0b Update net-certmanager nightly (# 10636)
  > e5c5c08 Export MESH env value in test script (# 10635)
  > 4a3274c Remove unused constants, make some other small tidy-ups (# 10637)
  > b083383 fix the broken doc's link (# 10634)
  > aac0df2 Deprecate the service name on the revision. (# 10633)
  > 0aa3d0b Remove the propagation from SKS->PA->Rev.Status of the K8s service (# 10632)
  > db90f4f Update net-contour nightly (# 10597)
  > 981c601 Update net-istio nightly (# 10619)
  > 8922f35 Update net-kourier nightly (# 10599)
  > df11c15 chore: Set background to white for autoscaling diagrams ... (# 10629)
  > f637b5a Remove naked returns (# 10618)
  > 6cde241 Improve rollout test to check duration (# 10625)
  > 7700811 At 100ms we still see failures on prow (# 10626)
  > c081a82 Make the singlethreaded code simpler by using boolean guard (# 10624)
  > 55a7edf upgrade to latest dependencies (# 10627)
  > 53d4d5b Fix some annoying nits in the route e2e tests (# 10623)
  > 2c781c7 upgrade to latest dependencies (# 10620)
  > 6dba44a The year was 2021.. (# 10621)
  > 39d33bf upgrade to latest dependencies (# 10617)
bumping golang.org/x/term 7de9c90...2321bbc:
  > 2321bbc Update doc to use "term" instead of "terminal"
  > ee85cb9 README.md: add badge to pkg.go.dev
bumping knative.dev/eventing ea452b5...3fcb645:
  > 3fcb645 🌀 Remvoing contrib refs (# 4855)
  > f05561d upgrade to latest dependencies (# 4853)
  > 37eaf71 switch Harwayne with antoineco (# 4850)
  > b887ac4 upgrade to latest dependencies (# 4848)
  > daa085d Format markdown (# 4846)
  > 3d51c72 Change trigger spec to indicate assigned broker should be immutable (# 4828)
  > 1774243 Add immutable fields validation to v1beta1 broker (# 4816)
  > 935d5fb Format markdown (# 4840)
  > 269b061 Update common github actions (# 4839)
  > 152e608 upgrade to latest dependencies (# 4841)
  > 8171448 Adding Logline for when a cloudevent has been successfully sent from APIServerSource to the sink (# 4723)
  > fd2688d Use SHOULD for TriggerSpec to keep compatibility (# 4838)
  > 1fa597e [# 4796] Bump golang lint timeout to 10m (# 4830)
  > a4a9f48 Format markdown (# 4829)
  > d58bd38 fix the link to head (# 4826)
  > 39d7a9e remove unused functions (# 4824)
  > 6edcbdd Panic in shared main to propagate error to exit code (# 4820)
  > 012a9bd v1beta1.Trigger delivery should be v1.DeliverySpec (# 4822)
  > 321a839 Format markdown (# 4823)
  > ec63881 Fix spec # 4515 (# 4654)
  > 1528750 upgrade to latest dependencies (# 4818)
  > 9dc57e2 Update common github actions (# 4817)
  > b20c96b sinkbing implement bindable (# 4794)
  > 8d51418 Bump golang linter version and timeout (# 4808)
  > f882ff0 Add availability rate to upgrade test report (# 4555)
  > a6635bb Patch HPA eventing-webhook min replicas (# 4811)
  > d46c1d0 It is already 2021 (# 4809)
  > fb8fbf7 Adding new source conformance testcase for CRD RBAC (# 4787)
  > 1725902 Update COMMUNITY_CONTACTS.md test grid link (# 4798)
  > b75d03a Adding new source conformance testcase for CRD Source Registry Spec (# 4780)
  > 77fc350 upgrade to latest dependencies (# 4797)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-09 10:04:50 -08:00
David Simansky 1499be95c7
fix: Fix deprecated terminal lib (#1215) 2021-02-05 12:56:03 -08:00
knative-automation 10dc31a0ef
Update common github actions (#1214)
Signed-off-by: Knative Automation <automation@knative.team>
2021-02-04 14:57:11 -08:00