Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tekton operator deps #234

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adambkaplan
Copy link
Member

@adambkaplan adambkaplan commented Dec 11, 2024

Changes

Update Tekton and k8s dependencies to most recent community supported versions, with related updates to code toolchains:

  1. Golang to v1.22
  2. k8s to 1.30.z
  3. Tekton Operator to v0.74.z

Prerequisite for #230

Fixes #178

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

action required: Minimum validated Tekton Operator version is v0.74.0; minimum validated Kubernetes version is v1.30.6. Other tooling such as Kustomize and controller-gen also updated to k8s 1.30 compatible versions.

- Update Tekton operator to v0.74.0, which brings install/upgrade
  support for Tekton Pipelines v0.62.z.
- Update sigs.k8s.io/controller-runtime to v0.18.6. This also updates
  k8s.io/* dependencies to v0.30.1

Signed-off-by: Adam Kaplan <[email protected]>
Updated `main.go` and the ShipwrightBuild controller test code to use
latest controller-runtime APIs (update included breaking changes).

Leaving the rest of the toolchain as is led to panics when generating
manifests with controller-gen. Therefore decided to update the
remaining tools to align with k8s 1.30.z:

- controller-gen to v0.15.0
- setup-envtest to release-0.18
- kustomize to v5.5.0 (most recent version)

This in turn required manifests to be regenerated. Operator-sdk was
left intact, as this does not appear to break with these updates.

Likewise updated Makefile and CI GitHub action to use golang 1.22 and
k8s 1.30, to ensure the version of k8s the operator tests with matches
the shipwright-io/build project version. Documentation for local and
OLM development updated to use latest versions of tools/operators -
notably updating Tekton Opertor to v0.74.0.

Signed-off-by: Adam Kaplan <[email protected]>
@adambkaplan adambkaplan added the kind/dependency-change Categorizes issue or PR as related to changing dependencies label Dec 11, 2024
@openshift-ci openshift-ci bot requested review from jkhelil and otaviof December 11, 2024 20:16
Copy link
Contributor

openshift-ci bot commented Dec 11, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from adambkaplan. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@SaschaSchwarze0 SaschaSchwarze0 added this to the release-v0.14.0 milestone Dec 12, 2024
go 1.22.0
go 1.22.5

toolchain go1.23.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run go get toolchain@none.

k8s.io/apiextensions-apiserver v0.27.11
k8s.io/apimachinery v0.27.11
github.com/tektoncd/operator v0.74.0
k8s.io/api v0.30.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to use the latest v0.30 which is .7 I think.

@adambkaplan adambkaplan added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dependency-change Categorizes issue or PR as related to changing dependencies kind/feature Categorizes issue or PR as related to a new feature. release-note-action-required
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[FEATURE] Update to Kustomize v5
2 participants