Skip to content

Commit

Permalink
Bump knative/pkg to 1.11
Browse files Browse the repository at this point in the history
This does the following:
- Update the dependency of knative/pkg to 1.11
- Update k8s reference to 1.25 as it's now the k8s min version supported
- Remove "use" of injection.Dynamic (not really used)
  See knative/pkg#2739. It doesn't seem it was
  used anywhere anyway.
- Handle AddEventHandler error.
  The `AddEventHandler` interface has changed and now returns an
  error (and a registration object that we do not need to use for
  now). This handles the error if any arise and also makes the linter
  happy :).

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester committed Aug 8, 2023
1 parent 5baa8b7 commit 1b5f226
Show file tree
Hide file tree
Showing 488 changed files with 44,949 additions and 56,590 deletions.
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ as follows.
The recommended minimum development configuration is:
- Kubernetes version 1.24 or later
- Kubernetes version 1.25 or later
- 4 (virtual) CPU nodes
- 8 GB of (actual or virtualized) platform memory
- Node autoscaling, up to 3 nodes
Expand Down Expand Up @@ -324,7 +324,7 @@ optional: As a convenience, the [Tekton plumbing project](https://github.com/tek
--region=us-central1 \
--machine-type=e2-standard-4 \
--num-nodes=1 \
--cluster-version=1.24
--cluster-version=1.25
```
> **Note**: The recommended [GCE machine type](https://cloud.google.com/compute/docs/machine-types) is `'e2-standard-4'`.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Tekton Pipelines are **Typed**:
- Starting from the v0.39.x release of Tekton: **Kubernetes version 1.22 or later**
- Starting from the v0.41.x release of Tekton: **Kubernetes version 1.23 or later**
- Starting from the v0.45.x release of Tekton: **Kubernetes version 1.24 or later**
- Starting from the v0.51.x release of Tekton: **Kubernetes version 1.25 or later**

### Read the docs

Expand Down
2 changes: 1 addition & 1 deletion docs/api-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This document makes reference in a few places to different profiles for Tekton i

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” are to be interpreted as described in [RFC 2119](https://tools.ietf.org/html/rfc2119).

There is no formal specification of the Kubernetes API and Resource Model. This document assumes Kubernetes 1.24 behavior; this behavior will typically be supported by many future Kubernetes versions. Additionally, this document may reference specific core Kubernetes resources; these references may be illustrative (i.e. an implementation on Kubernetes) or descriptive (i.e. this Kubernetes resource MUST be exposed). References to these core Kubernetes resources will be annotated as either illustrative or descriptive.
There is no formal specification of the Kubernetes API and Resource Model. This document assumes Kubernetes 1.25 behavior; this behavior will typically be supported by many future Kubernetes versions. Additionally, this document may reference specific core Kubernetes resources; these references may be illustrative (i.e. an implementation on Kubernetes) or descriptive (i.e. this Kubernetes resource MUST be exposed). References to these core Kubernetes resources will be annotated as either illustrative or descriptive.

## Modifying This Specification

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-write-a-resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ You'll also need the following:
- A computer with
[`kubectl`](https://kubernetes.io/docs/tasks/tools/#kubectl) and
[`ko`](https://github.com/google/ko) installed.
- A Kubernetes cluster running at least Kubernetes 1.24. A [`kind`
- A Kubernetes cluster running at least Kubernetes 1.25. A [`kind`
cluster](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
should work fine for following the guide on your local machine.
- An image registry that you can push images to. If you're using `kind`
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This guide explains how to install Tekton Pipelines.

## Prerequisites

- A [Kubernetes cluster][k8s] running version 1.24 or later.
- A [Kubernetes cluster][k8s] running version 1.25 or later.
- [Kubectl][].
- Grant `cluster-admin` privileges to the current user. See the [Kubernetes
role-based access control (RBAC) docs][rbac] for more information.
Expand Down
2 changes: 1 addition & 1 deletion docs/resolution-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with a Pipeline stored in a git repo.

- A computer with
[`kubectl`](https://kubernetes.io/docs/tasks/tools/#kubectl).
- A Kubernetes cluster running at least Kubernetes 1.24. A [`kind`
- A Kubernetes cluster running at least Kubernetes 1.25. A [`kind`
cluster](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
should work fine for following the guide on your local machine.
- An image registry that you can push images to. If you're using `kind`
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ require (
k8s.io/api v0.27.1
k8s.io/apimachinery v0.27.1
k8s.io/client-go v0.27.1
k8s.io/code-generator v0.25.9
k8s.io/code-generator v0.26.5
k8s.io/klog v1.0.0
k8s.io/kube-openapi v0.0.0-20230515203736-54b630e78af5
knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0
knative.dev/pkg v0.0.0-20230718152110-aef227e72ead
sigs.k8s.io/yaml v1.3.0
)

// TODO: Remove this once https://github.com/knative/pkg/issues/2759 is fixed
replace (
k8s.io/api => k8s.io/api v0.25.9
k8s.io/apimachinery => k8s.io/apimachinery v0.26.5
k8s.io/client-go => k8s.io/client-go v0.25.9
k8s.io/code-generator => k8s.io/code-generator v0.25.9
k8s.io/api => k8s.io/api v0.26.7
k8s.io/apimachinery => k8s.io/apimachinery v0.26.7
k8s.io/client-go => k8s.io/client-go v0.26.7
k8s.io/code-generator => k8s.io/code-generator v0.26.7
)

require github.com/benbjohnson/clock v1.3.0 // indirect
Expand Down Expand Up @@ -232,7 +232,7 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.25.4 // indirect
k8s.io/apiextensions-apiserver v0.26.5 // indirect
k8s.io/gengo v0.0.0-20221011193443-fad74ee6edd9 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
Expand Down
Loading

0 comments on commit 1b5f226

Please sign in to comment.