Skip to content

fix(funccli): deploy with --management-disabled - #272

Merged
maschmid merged 2 commits into
functions-dev:mainfrom
gauron99:push-kzrmozqntumk
Oct 21, 2026
Merged

maschmid merged 2 commits into
functions-dev:mainfrom
gauron99:push-kzrmozqntumk

Conversation

@gauron99

Copy link
Copy Markdown
Contributor

Today func creates/updates Function CR only for local deploys (if enabled), so the operator's remote deploys are not affected. Once func does it for remote deploys too, every operator rebuild would also rewrite the spec of the Function CR it deploys from.

Pass --management-disabled so func leaves the CR alone; the operator keeps writing only its status. The flag first shipped in func v1.23.0, like --image-pull-secret, which the operator already passes.

func deploy can create or update a Function CR after a deploy
(func v1.23+). Today it does this only for local deploys, so the
operator's remote deploys are not affected. Once func does it for
remote deploys too, every operator rebuild would also rewrite the spec
of the Function CR it deploys from.

Pass --management-disabled so func leaves the CR alone; the operator
keeps writing only its status. The flag first shipped in func v1.23.0,
like --image-pull-secret, which the operator already passes.
@maschmid
maschmid enabled auto-merge (squash) October 21, 2026 08:04
@maschmid
maschmid merged commit 8ef7df7 into functions-dev:main Oct 21, 2026
11 checks passed
@gauron99

Copy link
Copy Markdown
Contributor Author

/cherry-pick release-0.4

@functions-dev-ci-bot

Copy link
Copy Markdown

Successfully created cherry-pick PR for release-0.4:

gauron99 added a commit that referenced this pull request Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants