Skip to content

fix(mozcloud): reject and forward options.healthCheck fields per host api#289

Open
jbuck wants to merge 1 commit into
mainfrom
jbuck/push-xwkpzsqpqumm
Open

fix(mozcloud): reject and forward options.healthCheck fields per host api#289
jbuck wants to merge 1 commit into
mainfrom
jbuck/push-xwkpzsqpqumm

Conversation

@jbuck

@jbuck jbuck commented Jun 12, 2026

Copy link
Copy Markdown
Member

Description

The ingress code path silently dropped any options.healthCheck field not named requestPath or port — so host, path, and the rest of the BackendConfig surface (type, checkIntervalSec, timeoutSec, healthyThreshold, unhealthyThreshold) had no effect on the rendered BackendConfig. Schema validation now rejects gateway-only fields (host/path) on api: ingress hosts and rejects ingress-only fields on api: gateway hosts, replacing the silent drop with a clear error. The ingress template now forwards every BackendConfig-supported field.

Related Tickets & Documents

@jbuck jbuck requested a review from a team as a code owner June 12, 2026 19:05
@mozcloud-release-bot mozcloud-release-bot Bot added the patch A bug fix or non-functional change. label Jun 12, 2026
@mozcloud-release-bot

Copy link
Copy Markdown

Chart Version Preview

The following charts will be bumped when this PR is merged:

Chart Current Version New Version Release Type
mozcloud 3.4.0 3.4.1 patch

Apply patch, minor, major, or no-release label to override the release type.

… api

The ingress code path silently dropped any options.healthCheck field not
named requestPath or port — so host, path, and the rest of the
BackendConfig surface (type, checkIntervalSec, timeoutSec,
healthyThreshold, unhealthyThreshold) had no effect on the rendered
BackendConfig. Schema validation now rejects gateway-only fields
(host/path) on api: ingress hosts and rejects ingress-only fields on
api: gateway hosts, replacing the silent drop with a clear error. The
ingress template now forwards every BackendConfig-supported field.

Fixes MZCLD-3322.
@jbuck jbuck force-pushed the jbuck/push-xwkpzsqpqumm branch from bdd96a5 to 916edd8 Compare June 12, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch A bug fix or non-functional change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants