Repository navigation
Conversation
gauron99
commented
Oct 14, 2026
Contributor
- test/utils/func.go: FUNC_BIN env override to point at a specific func binary (e.g. extracted from the operator image / provided by CI), and a WithImage deploy option to deploy a pre-built image (--build=false --push=false), used to seed a function's initial deployed state.
- test/e2e/func_middleware_fixture_test.go: a middleware-rebuild spec that deploys a pre-built stale-middleware image (via STALE_FUNCTION_IMAGE) and asserts the operator detects it and rebuilds to current. Image ref is not hardcoded; the spec skips when STALE_FUNCTION_IMAGE is unset. Currently also skipped pending operator sync creates registry auth Secret as Opaque/config.json, incompatible with func-operator (expects dockerconfigjson) knative/func#4081 (registry auth secret type mismatch on operator rebuild).
- test/utils/func.go: FUNC_BIN env override to point at a specific func binary (e.g. extracted from the operator image / provided by CI), and a WithImage deploy option to deploy a pre-built image (--build=false --push=false), used to seed a function's initial deployed state. - test/e2e/func_middleware_fixture_test.go: a middleware-rebuild spec that deploys a pre-built stale-middleware image (via STALE_FUNCTION_IMAGE) and asserts the operator detects it and rebuilds to current. Image ref is not hardcoded; the spec skips when STALE_FUNCTION_IMAGE is unset. Currently also skipped pending knative/func#4081 (registry auth secret type mismatch on operator rebuild).
gauron99
force-pushed
the
test-e2e-middleware-rebuild
branch
from
October 14, 2026 13:45
224e37c to
d4a76a1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.