You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document the gateway mutual TLS fields on the operator Gateway CRD #1068
The operator now exposes the gateway's mutual TLS settings declaratively on the Gateway CRD, so the operator CRD reference needs the new fields. The gateway env vars themselves are already documented in the configuration reference ("Mutual TLS" section) - this is about the operator-facing CRD equivalents.
New fields (inference-gateway/operator, landed in #313 and #315):
spec.server.tls.clientCARef - a Secret key holding a PEM CA bundle. Surfaced as SERVER_TLS_CLIENT_CA_PATH, requiring and verifying client certificates on the inbound listener. Needs spec.server.tls.enabled: true, and the health probes switch to tcpSocket because the kubelet cannot present a client certificate.
spec.client.tls.caRef - extra PEM CA bundle trusted on top of the system roots for outbound provider calls (CLIENT_TLS_CA_PATH). Valid on its own.
spec.client.tls.certificateRef / spec.client.tls.keyRef - the client certificate and key the gateway presents to providers requiring mTLS (CLIENT_TLS_CERT_PATH / CLIENT_TLS_KEY_PATH). The CRD rejects one without the other.
Each reference is a SecretKeySelector (name plus key) mounted read-only under its own directory in the gateway pod.
Check relevance: commit 740ce4a ("docs(operator): gateway crd mutual tls fields") landed on main about an hour before this run and already covers most of the issue
Verify against the acceptance criteria and the upstream CRD (api/v1alpha1/gateway_types.go)
Document the one missing piece
Validate (format, lint:md, format:check, build)
Open PR
Relevance check
Acceptance criterion
State before this PR
Fields listed with env var mapping
Already done - table in "Mutual TLS (clientCARef and spec.client.tls)" with env vars, mount paths and direction
The two validation rules
Gap. Only the first was mentioned, and loosely - "it is only read when spec.server.tls.enabled is true", as if silently ignored. The cert/key pairing rule was absent
End-to-end example with inbound mTLS and a provider client certificate
Already done - cert-manager example plus the rendered env vars
Probe switch to tcpSocket
Already done, including the caveat that a TCP probe does not call /health
I read the upstream CRD to confirm: both are CEL XValidation rules, so the API server rejects the Gateway at admission - it does not silently ignore the field.
Change
operator.md: replaced the loose sentence with a two-row table stating both rules and their verbatim admission messages (spec.server.tls.clientCARef needs spec.server.tls.enabled: true, spec.client.tls needs certificateRef and keyRef together), and noted that caRef is valid on its own.
I did not re-verify the mount paths or the rendered env var values from #1067 against the operator controller, and I did not preview the page in a browser (build passes, table renders as standard Markdown).
| docs/issue-1068-20261101-1351
Activity
edenreich commentedon Nov 1, 2026
@claude can you document this? use /ponytail:ponytail first check if it's still relevant.
inference-gateway-maintainer commentedon Nov 1, 2026
Claude finished @edenreich's task in 2m 16s —— View job •
docs/issue-1068-20261101-1351Mostly already done - one gap closed
740ce4a("docs(operator): gateway crd mutual tls fields") landed on main about an hour before this run and already covers most of the issueapi/v1alpha1/gateway_types.go)format,lint:md,format:check,build)Relevance check
clientCARefandspec.client.tls)" with env vars, mount paths and directionspec.server.tls.enabledistrue", as if silently ignored. The cert/key pairing rule was absenttcpSocket/healthI read the upstream CRD to confirm: both are CEL
XValidationrules, so the API server rejects the Gateway at admission - it does not silently ignore the field.Change
operator.md: replaced the loose sentence with a two-row table stating both rules and their verbatim admission messages (spec.server.tls.clientCARef needs spec.server.tls.enabled: true,spec.client.tls needs certificateRef and keyRef together), and noted thatcaRefis valid on its own.Create a PR - already opened as #1069.
I did not re-verify the mount paths or the rendered env var values from #1067 against the operator controller, and I did not preview the page in a browser (build passes, table renders as standard Markdown).
|
docs/issue-1068-20261101-1351inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀