chore: Preps for release 0.15.0 (#869)

This commit is contained in:
Roland Huß 2020-06-02 12:35:17 +02:00 committed by GitHub
parent af2d4c8f2a
commit fc6f379d94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 62 additions and 65 deletions

View File

@ -12,16 +12,30 @@
| https://github.com/knative/client/pull/[#]
////
## v0.15.0 (2020-06-02)
[cols="1,10,3", options="header", width="100%"]
|===
| | Description | PR
| 🎁
| Add --ce-override flag for apiserver and ping sources
| https://github.com/knative/client/pull/865[#865]
| 🐛
| Fix `kn source -h`
| https://github.com/knative/client/pull/846[#846]
| ✨
| Update to Knative serving and eventing 0.15.0
| https://github.com/knative/client/pull/810[#810]
| 🎁
| Add --requests and --limits flags for resource requirements
| Add `--ce-override` flag for apiserver and ping sources
| https://github.com/knative/client/pull/865[#865]
| 🐣
| Check `deletionTimestamp` for `kn revision delete`
| https://github.com/knative/client/pull/860[#860]
| 🎁
| Add `--requests` and `--limits` flags for resource requirements
| https://github.com/knative/client/pull/859[#859]
| 🐣
@ -29,17 +43,36 @@
| https://github.com/knative/client/pull/853[#853]
| 🐛
| Fix Panic for kn source ping describe with Sink URI
| Fix Panic for `kn source ping` describe with Sink URI
| https://github.com/knative/client/pull/848[#848]
| 🎁
| Add kn service delete --all
| Add `kn service delete --all`
| https://github.com/knative/client/pull/836[#836]
| 🎁
| Allow plugins to extend all command groups
| https://github.com/knative/client/pull/834[#834]
| 🐣
| Update and expanded https://github.com/knative/client/blob/master/conventions/cli.md[CLI convention document]
| https://github.com/knative/client/pull/831[#831]
| 🐛
| Skip LatestReadyRevisionName if Revision is Pending or Unknown
| Skip `LatestReadyRevisionName` if revision is `Pending` or `Unknown`
| https://github.com/knative/client/pull/825[#825]
| 🎁
| Add `--with-revisions` to `kn export` to allow a direct export of revisions
| https://github.com/knative/client/pull/819[#819]
| 🐛
| Update help messsage for `kn source apiserver` to reflect the new API
| https://github.com/knative/client/pull/817[#817]
| 🐛
| Check `DeleteTimestamp` before updating resource
| https://github.com/knative/client/pull/805[#805]
|===
## v0.14.0 (2020-04-21)
@ -56,22 +89,9 @@
| Update to Knative serving and eventing 0.14.0
| https://github.com/knative/client/pull/810[#810]
| 🐛
| Check DeleteTimestamp before updating resource
| https://github.com/knative/client/pull/805[#805]
| 🎁
| Allow plugins to extend fixed list of command groups, currently `source`
| https://github.com/knative/client/pull/818[#818]
| 🎁
| Add `-a` flag as an alias for `--annotation`
| https://github.com/knative/client/pull/782[#782]
| 🎁
| Allow plugins to extend all command groups
| https://github.com/knative/client/pull/834[#834]
|===
## v0.13.2 (2020-04-15)

6
go.mod
View File

@ -11,9 +11,9 @@ require (
k8s.io/apimachinery v0.17.4
k8s.io/cli-runtime v0.17.3
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible
knative.dev/eventing v0.14.1-0.20200523184044-78d7fbb41f8a
knative.dev/pkg v0.0.0-20200522212244-870993f63e81
knative.dev/serving v0.14.1-0.20200524222346-2b805814b468
knative.dev/eventing v0.15.1-0.20200528220601-a61a6784a053
knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9
knative.dev/serving v0.15.1-0.20200601175503-4eab87b2ad07
sigs.k8s.io/yaml v1.2.0
)

12
go.sum
View File

@ -1411,8 +1411,8 @@ k8s.io/utils v0.0.0-20200124190032-861946025e34 h1:HjlUD6M0K3P8nRXmr2B9o4F9dUy9T
k8s.io/utils v0.0.0-20200124190032-861946025e34/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
knative.dev/caching v0.0.0-20190719140829-2032732871ff/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg=
knative.dev/caching v0.0.0-20200521155757-e78d17bc250e/go.mod h1:bsKPIG2XZFYL8uw5BAxg7EMBLp0vNpu9jZIGus8HUPU=
knative.dev/eventing v0.14.1-0.20200523184044-78d7fbb41f8a h1:H4DzWKK/3RnaUjPLxMhn/f7ZfpLFEm42j4C0ZGwMzOw=
knative.dev/eventing v0.14.1-0.20200523184044-78d7fbb41f8a/go.mod h1:J6FnmHXZaB3g2TmP2QkzUCuiysahAEHAdvpWx2gRh0o=
knative.dev/eventing v0.15.1-0.20200528220601-a61a6784a053 h1:qgolkHPchIXAsJKzpvC+HM0G+pycSkJ66HzZj+5lrs4=
knative.dev/eventing v0.15.1-0.20200528220601-a61a6784a053/go.mod h1:gbc8a7KVyhYIHpw2BCeKaOJPH7UUMgoWAvv73d2DhRI=
knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g=
knative.dev/pkg v0.0.0-20191101194912-56c2594e4f11/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
knative.dev/pkg v0.0.0-20191111150521-6d806b998379/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q=
@ -1420,10 +1420,10 @@ knative.dev/pkg v0.0.0-20200428194351-90fc61bae7f7/go.mod h1:o+e8OVEJKIuvXPsGVPI
knative.dev/pkg v0.0.0-20200505191044-3da93ebb24c2/go.mod h1:Q6sL35DdGs8hIQZKdaCXJGgY8f90BmNBKSb8z6d/BTM=
knative.dev/pkg v0.0.0-20200515002500-16d7b963416f/go.mod h1:tMOHGbxtRz8zYFGEGpV/bpoTEM1o89MwYFC4YJXl3GY=
knative.dev/pkg v0.0.0-20200519155757-14eb3ae3a5a7/go.mod h1:QgNZTxnwpB/oSpNcfnLVlw+WpEwwyKAvJlvR3hgeltA=
knative.dev/pkg v0.0.0-20200522212244-870993f63e81 h1:z51QVLY3/SYtAPq2CaFAEJaYaid6zEdpKon38fck0zw=
knative.dev/pkg v0.0.0-20200522212244-870993f63e81/go.mod h1:QgNZTxnwpB/oSpNcfnLVlw+WpEwwyKAvJlvR3hgeltA=
knative.dev/serving v0.14.1-0.20200524222346-2b805814b468 h1:VcSs36kH9uErD3r9s1Ejs6fyRvK+bUvGqJKEs5RL3wI=
knative.dev/serving v0.14.1-0.20200524222346-2b805814b468/go.mod h1:cc+LozTiaDvg3802drxoRta8qovnJbxxbtw5l5mqV3o=
knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9 h1:bN9gghp5Osuw1bgKrvMaA+oiAvPuYmzSbRo54/EFSxI=
knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9/go.mod h1:QgNZTxnwpB/oSpNcfnLVlw+WpEwwyKAvJlvR3hgeltA=
knative.dev/serving v0.15.1-0.20200601175503-4eab87b2ad07 h1:rMeSlTPZEgixr4NpX6cqUiGHOheEtRl0mJvmwG8Pvys=
knative.dev/serving v0.15.1-0.20200601175503-4eab87b2ad07/go.mod h1:M8e9RHN3SfC18iEhRso2nj0YjIv3N8poTpSZgfQRfZM=
knative.dev/test-infra v0.0.0-20200407185800-1b88cb3b45a5/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ=
knative.dev/test-infra v0.0.0-20200505052144-5ea2f705bb55/go.mod h1:WqF1Azka+FxPZ20keR2zCNtiQA1MP9ZB4BH4HuI+SIU=
knative.dev/test-infra v0.0.0-20200513011557-d03429a76034/go.mod h1:aMif0KXL4g19YCYwsy4Ocjjz5xgPlseYV+B95Oo4JGE=

View File

@ -23,7 +23,7 @@ set -o pipefail
cd ${ROOT_DIR}
VERSION="master"
VERSION="release-0.15"
# The list of dependencies that we track at HEAD and periodically
# float forward in this repository.

View File

@ -31,11 +31,11 @@ var GitRevision string
// update this var as we add more deps
var apiVersions = map[string][]string{
"serving": {
"serving.knative.dev/v1 (knative-serving v0.14.0)",
"serving.knative.dev/v1 (knative-serving v0.15.0)",
},
"eventing": {
"sources.knative.dev/v1alpha2 (knative-eventing v0.14.1)",
"eventing.knative.dev/v1alpha1 (knative-eventing v0.14.1)",
"sources.knative.dev/v1alpha2 (knative-eventing v0.15.0)",
"eventing.knative.dev/v1alpha1 (knative-eventing v0.15.0)",
},
}

View File

@ -1 +1 @@
21faa1b1d5d571df6b8f67af72f6c7a269646f21
554a95a37986be595fa4ecadfd05cef7e9fb0fd1

View File

@ -45,12 +45,6 @@ type Status struct {
// +patchMergeKey=type
// +patchStrategy=merge
Conditions Conditions `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// Annotations is additional Status fields for the Resource to save some
// additional State as well as convey more information to the user. This is
// roughly akin to Annotations on any k8s resource, just the reconciler conveying
// richer information outwards.
Annotations map[string]string `json:"annotations,omitempty"`
}
var _ apis.ConditionsAccessor = (*Status)(nil)

View File

@ -428,13 +428,6 @@ func (in *Status) DeepCopyInto(out *Status) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}

View File

@ -63,12 +63,6 @@ type Status struct {
// +patchMergeKey=type
// +patchStrategy=merge
Conditions Conditions `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// Annotations is additional Status fields for the Resource to save some
// additional State as well as convey more information to the user. This is
// roughly akin to Annotations on any k8s resource, just the reconciler conveying
// richer information outwards.
Annotations map[string]string `json:"annotations,omitempty"`
}
var _ apis.ConditionsAccessor = (*Status)(nil)

View File

@ -374,13 +374,6 @@ func (in *Status) DeepCopyInto(out *Status) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}

View File

@ -193,9 +193,12 @@ func validate(lc *Config) (*Config, error) {
}
// We can't permit stable window be less than our aggregation window for correctness.
if lc.StableWindow < autoscaling.WindowMin {
return nil, fmt.Errorf("stable-window = %v, must be at least %v", lc.StableWindow, autoscaling.WindowMin)
// Or too big, so that our desisions are too imprecise.
if lc.StableWindow < autoscaling.WindowMin || lc.StableWindow > autoscaling.WindowMax {
return nil, fmt.Errorf("stable-window = %v, must be in [%v; %v] range", lc.StableWindow,
autoscaling.WindowMin, autoscaling.WindowMax)
}
if lc.StableWindow.Round(time.Second) != lc.StableWindow {
return nil, fmt.Errorf("stable-window = %v, must be specified with at most second precision", lc.StableWindow)
}

6
vendor/modules.txt vendored
View File

@ -461,7 +461,7 @@ k8s.io/kube-openapi/pkg/util/proto
k8s.io/utils/buffer
k8s.io/utils/integer
k8s.io/utils/trace
# knative.dev/eventing v0.14.1-0.20200523184044-78d7fbb41f8a
# knative.dev/eventing v0.15.1-0.20200528220601-a61a6784a053
knative.dev/eventing/pkg/apis/config
knative.dev/eventing/pkg/apis/configs
knative.dev/eventing/pkg/apis/configs/v1alpha1
@ -487,7 +487,7 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/eventing/v1alpha1/fake
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1alpha2
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1alpha2/fake
knative.dev/eventing/pkg/logging
# knative.dev/pkg v0.0.0-20200522212244-870993f63e81
# knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
knative.dev/pkg/apis/duck/v1
@ -503,7 +503,7 @@ knative.dev/pkg/logging/logkey
knative.dev/pkg/profiling
knative.dev/pkg/ptr
knative.dev/pkg/tracker
# knative.dev/serving v0.14.1-0.20200524222346-2b805814b468
# knative.dev/serving v0.15.1-0.20200601175503-4eab87b2ad07
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
knative.dev/serving/pkg/apis/config