Skip to content

cluster: Contour when --serving=false; drop dead delete --container-engine - #3985

Open
lkingland wants to merge 1 commit into
knative:mainfrom
lkingland:coder.functions.1/43-followup
Open

cluster: Contour when --serving=false; drop dead delete --container-engine#3985
lkingland wants to merge 1 commit into
knative:mainfrom
lkingland:coder.functions.1/43-followup

Conversation

@lkingland

Copy link
Copy Markdown
Member

Summary

Follow-up to #3856 (squash-merged at c5310074 before these review fixes landed on the PR tip).

S1: Remove dead --container-engine from func cluster delete — nothing in the delete path read ContainerEngineOverride after host registry container teardown was removed.

S2: When --serving=false, Contour was not installed, but the registry still applied an Ingress with ingressClassName: contour-external. Host docker push registry.localtest.me/... then failed. Extract installContour from installNetworking; on the registry path, install Contour before the registry when Serving is off. Default --serving=true unchanged (matches hack/cluster.sh, which always installs Contour via networking). Help documents Contour on minimal create.

Test plan

  • go build ./cmd/ ./pkg/cluster/
  • Default func cluster create path unchanged (Serving + Contour via svr)
  • func cluster create --serving=false --eventing=false installs Contour then registry; host registry hostname resolves via Ingress

Functions#43 follow-up.

…ngine

Post-knative#3856 follow-up (review S1/S2 landed after the squash merge):

S1: Remove --container-engine from cluster delete — nothing read it after
    host registry teardown went away.

S2: Extract installContour; when --serving=false install Contour before the
    registry so registry.localtest.me Ingress is not inert. Default
    --serving=true unchanged (hack/cluster.sh always has Contour via
    networking). Help text documents Contour on minimal create.

Functions follow-up to #43 / knative#3856
@knative-prow

knative-prow Bot commented Aug 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lkingland

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

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Aug 3, 2026
@knative-prow
knative-prow Bot requested review from dsimansk and jrangelramos August 3, 2026 00:06
@knative-prow knative-prow Bot added the size/L 🤖 PR changes 100-499 lines, ignoring generated files. label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. size/L 🤖 PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant