Commit Graph

589 Commits

Author SHA1 Message Date
knative-automation 14bc2ddf42
upgrade to latest dependencies (#1126)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-24 11:12:43 -08:00
Arghya Sadhu 0411239e37
machinerealable output for trigger (#1121)
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-11-24 11:12:35 -08:00
Navid Shaikh ccb5abb4ee
chore(e2e): Run latest release e2e job against v0.19.x (#1131)
of serving and eventing
2020-11-24 09:06:35 -08:00
Navid Shaikh 0689e0527a
Run e2e CI job against eventing v0.19.1 since nightly is broken (#1136)
The ping source update for sink isnt working as expected.
 see https://github.com/knative/eventing/issues/4584
2020-11-24 06:36:34 -08:00
Arghya Sadhu 33d4dfd468
machine-readable output for broker (#1124)
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-11-18 05:11:51 -08:00
knative-automation 4539ee8f33
upgrade to latest dependencies (#1123)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-17 22:30:51 -08:00
Arghya Sadhu 688d9fcab7
add url output for broker and channel (#1118)
Signed-off-by: Arghya Sadhu <arghya88@gmail.com>
2020-11-17 08:24:52 -08:00
knative-automation 10128901aa
upgrade to latest dependencies (#1120)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-17 06:32:52 -08:00
Markus Thömmes dca9561993
Fix a few more occurrences of divisive language (#1119) 2020-11-16 07:18:04 -08:00
Navid Shaikh 6508fedbac
Embed the namespace in request body while creating channels (#1117)
* Embed the namespace in request body while creating channels

 since on the eventing side, defaulting for channel isnt picking
 the namespace from the context (see https://github.com/knative/eventing/issues/4514)

 workaround for #1100
 this changeset should be reverted when eventing#4514 is resolved

* Add CHANGELOG
2020-11-12 12:44:59 -08:00
knative-automation b93ca9b34d
Update common github actions (#1116)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-11 23:01:59 -08:00
Roland Huß 5c8de8ed96
tune changelog for 0.19.0 (#1112) 2020-11-11 08:18:59 -08:00
Roland Huß ff52ca0669
Update version dependency to 0.19 + update version command (#1111) 2020-11-11 07:10:59 -08:00
David Simansky 8d3580a4b3
chore: Remove deprecated requests/limits flags (#1110)
* chore: Remove deprecated requests/limits flags

* chore: Add changelog entry
2020-11-11 05:52:59 -08:00
Roland Huß d1a1fc94ce
feat: Add checksums.txt to release to have the sha256 checksums published, too. (#1108)
* feat: Add checksums.txt to release to have the sha256 checksums published, too.

* chore: Remove check for sha256sum as we are requiring it now for the release.
2020-11-10 12:11:58 -08:00
David Simansky 9610c933b6
fix: Fix var initialization in lib/service function (#1107) 2020-11-10 05:37:58 -08:00
Roland Huß 1b7985eac5
feature: Add Linux arm64 builds to the release (#1106)
* feature: Add Linux arm64 builds to the release

Fixes https://github.com/knative/client/issues/1101

* update link to PR in changelog.adoc
2020-11-10 03:45:58 -08:00
knative-automation e8b26e182a
upgrade to latest dependencies (#1103)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-09 20:23:58 -08:00
David Simansky b72e4be300
feat: Add service import command (#1065)
* feat: Add service import command

* fix: Fix e2e test

* fix: Add retry when retrieving Configuration

* fix: Reflect review feedback

* fix: Fix error message

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

* fix: Add missing mock tests

* fix: Polish unit test assertions

* fix: Mark import as experimental

* chore: Add changelog entry

* Update CHANGELOG.adoc

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

* fix: Remove deprecated flag

Co-authored-by: Roland Huß <rhuss@redhat.com>
2020-11-09 06:04:09 -08:00
Navid Shaikh 45ffadecec
Drop deprecated --async flag support (#1094)
in the favor of --no-wait flag
2020-11-09 01:49:17 -08:00
Navid Shaikh 26867f154d
feat: Add channel sink prefix (#1092)
* Add channel sink prefix

* Add unit and e2e tests

* Add CHANGELOG

* Fix e2e tests
2020-11-09 01:49:09 -08:00
knative-automation a0ddad92fc
Update common github actions (#1090)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-06 03:05:07 -08:00
knative-automation 5787e95e9c
upgrade to latest dependencies (#1091)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-05 22:12:07 -08:00
knative-automation 3614bd6b64
upgrade to latest dependencies (#1088)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-03 08:47:04 -08:00
knative-automation 8a0067dc6b
upgrade to latest dependencies (#1085)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-03 02:01:04 -08:00
Murugappan Chetty c60b85150c
Export test refactor (#1069)
* vendor changes for importing serving test

* refactor export test

* vendor changes

* lint changes

* add comments and address review comments

* review comments for #1069

* rebase

* remove vendor/license

* remove vendor/license
2020-11-02 07:21:35 -08:00
Roland Huß 8ca97c7920
Feature: "kn service apply" (#964)
* feat: "kn service apply"

This commit introduces a client-side apply with a plain JsonPatchMerge. This is more limited than a StrategicPatchMerg as it does not allow to merge lists (they are just overwritten). Also is not a real 3-way merger that would lead to a conflict when both the, the server-side and the provide update overlapp in fields that updated, compared to the shared original configuration. This is a problem of  JsonThreeWayMerger itself, as pointed out in https://github.com/kubernetes/kubernetes/pull/40666#pullrequestreview-502804243.

This limitation is shared with kubectl, which suffers from the same issue if using `kubectl apply` with a custom resource (i.e. with everything that has schema that is not registered within kubectl).

Tests are missing, too, but will come soon

* chore: Add tests for 'kn apply'

* refactor: Removed PatchService from pulic API interface

* fix: Display of service URL at the end, when no changes apply

* chore: Add initial E2E test

* chore: Implemented review suggestions

* More tests
* Example for kn service apply
* Remove commented-out code

* lint fixes

* fix formatting of kn service apply doc

* fixing go.sum

* chore: Update deps
2020-11-02 00:36:35 -08:00
Scott Nichols d1552ee0a3
updating to use the hack repo (#1084)
* updating to use the hack repo

* eof

* you need to run update deps after codegen to pick up any new deps.

* do not reinvent update-deps.

* must be winter
2020-10-30 11:41:35 -07:00
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