GeezerVison is showing github.com — chore: move to func-operator v0.4.1 and import only its api module by gauron99 · Pull Request #4104 · knative/func
Conversation
gauron99
commented
Oct 22, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
func-operator v0.4 publishes its API types as a separate module, github.com/functions-dev/func-operator/api. Import that module instead of the operator's root module.
Install func-operator v0.4.1 in the test cluster.
Release Note
action required: func now needs func-operator v0.4.0 or later. The Function CR that func writes names the repository's revision and directory in spec.repository.revision and spec.repository.dir, which older func-operator versions do not read. If you use func-operator, upgrade it to v0.4.0 or later.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
func-operator v0.4 publishes its API types as a separate module,
github.com/functions-dev/func-operator/api. Import that module instead
of the operator's root module.
v0.4 renames spec.repository.branch and path to revision and dir. The
CR sync and its tests now use the new names. The fields have new JSON
names, so func and the operator must move to v0.4 together: each side
drops the other's old fields.
v0.4.1 is the first release whose api module works with the Kubernetes
v0.36 libraries func uses; v0.4.0 required v0.37. It also deploys with
--management-disabled, so the operator's own rebuilds leave the Function
CR to func.
Install func-operator v0.4.1 in the test cluster.
|
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gauron99
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Details
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
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
dsimansk
Awaiting requested review from dsimansk
Uh oh!
There was an error while loading. Please reload this page.
Labels
approved
🤖 PR has been approved by an approver from all required OWNERS files.
lgtm
🤖 PR is ready to be merged.
size/L
🤖 PR changes 100-499 lines, ignoring generated files.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.