← Back to Pull requests

docs: drop kubectl --certificate-authority from the mTLS secret command #10733

Open
MaxonT opened this pull request with 2 lines diff across 1 files
View on GitHub
MaxonT MaxonT commented on Nov 29, 2026 23:56 UTC
Author

The Mutual TLS guide ending in a certificate error is what caught my eye in #5629, and a patch is attached for the guide.

Fixes #5629

The kubectl create secret tls command in the Mutual TLS task passed --certificate-authority=example.com.crt. That is not a secret option: it is kubectl's global flag for the CA that verifies the API server. With the example CA given there, kubectl stops trusting the cluster's own certificate and fails with x509: certificate signed by unknown authority, which is the error the reporter saw. kubectl create secret tls only takes --cert and --key.

The change removes that flag from the command. The CA is still stored by the next step, kubectl create secret generic example-ca-cert --from-file=ca.crt=example.com.crt, which the Gateway's client validation already references, so nothing else in the guide changes.

Only site/content/en/latest/tasks/security/mutual-tls.md changes (docs, no API or behaviour change, no release note needed). I did not backport it to the versioned docs.

Checks

Ran: markdownlint-cli with the repo's .github/markdown_lint_config.json on the changed file, exit 0. The global flag's meaning is from the kubectl reference ("Path to a cert file for the certificate authority", listed under kubectl's global options).

Not run: the guide against a live cluster (kubectl is not installed where I worked), the docs site build, and the repository CI on this head. The commit is signed off (DCO).

Diff: 2 lines (+1 / -1) across 1 files Reviewer: zirain Review duration: 2514m
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.33) × (1 − Review Confidence (0.64)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 2 lines diff across 1 files
0.33
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.55 · 5 substantive comment(s)
0.55
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
64%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.066
Sensitive Paths sensitive_paths
0.033
Real PR Conversation Timeline
7 items
netlify[bot] netlify[bot] commented on Nov 29, 2026 23:56 UTC
Bot

<span aria-hidden="true">✅</span> Deploy Preview for cerulean-figolla-1f9435 ready!


Built without sensitive environment variables

| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 82002b1da432763b385224569790cb408ace9743 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6b0cbbc003e14dad6e353a3f |
|<span aria-hidden="true">😎</span> Deploy Preview | https://deploy-preview-10733--cerulean-figolla-1f9435.netlify.app |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />!QR Code<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- cerulean-figolla-1f9435 Preview -->
_To edit notification comments on pull requests, go to your Netlify project configuration._

chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 29, 2026 23:56 UTC
Bot

<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"82002b1da432763b385224569790cb408ace9743","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

This comment shows the latest Codex review activity on this pull request.

| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-29T23:57:34.620727Z">2026-11-29T23:57:34.620727Z</relative-time> | 82002b1 | PR opened |

<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    MaxonT MaxonT commented on Nov 30, 2026 03:03 UTC
    Author

    Hi team, could you please review this when you have a moment?

    In short: Drop kubectl --certificate-authority from the mTLS secret command.

    I think this will be really valuable. You may want to take a look. Thanks!

    MaxonT MaxonT commented on Nov 30, 2026 19:12 UTC
    Author

    Hi team, could you please review this when you have a moment?

    In short: Drop kubectl --certificate-authority from the mTLS secret command.

    I think this will be really valuable. You may want to take a look. Thanks!

    MaxonT MaxonT commented on Dec 01, 2026 01:34 UTC
    Author

    Hi team, could you please review this when you have a moment?

    In short: Drop kubectl --certificate-authority from the mTLS secret command.

    I think this will be really valuable. You may want to take a look. Thanks!

    zirain zirain approved these changes on Dec 01, 2026 01:39 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    MaxonT MaxonT
    Labels
    risk: low confidence: 64.4% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 32.7% (LOW) · Higher = larger blast radius
    32.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 64.4% · Lower = rushed or shallow review
    64.4%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 11.7% · Safe to merge
    11.7%