Skip to content

EV-6493: Mirror TLS-consolidation and operator-metrics docs into version-3.23-2#2783

Merged
ctauchen merged 2 commits into
tigera:mainfrom
ctauchen:docs-mirror-tls-metrics-3.23-2
Jun 12, 2026
Merged

EV-6493: Mirror TLS-consolidation and operator-metrics docs into version-3.23-2#2783
ctauchen merged 2 commits into
tigera:mainfrom
ctauchen:docs-mirror-tls-metrics-3.23-2

Conversation

@ctauchen

Copy link
Copy Markdown
Collaborator

Summary

Backports the documentation changes from #2631 and #2630 into the calico-enterprise_versioned_docs/version-3.23-2/ snapshot (and its sidebar). Both upstream PRs touched only the calico-enterprise/ master tree; the version-3.23-2 snapshot was untouched, so a reader on the published 3.23 docs still sees the old per-component TLS pages and the old PrometheusRule names.

This PR is CE-only by request (skips a parallel mirror into calico-cloud_versioned_docs/version-22-2/).

From #2631EV-6493: Consolidate TLS certificate docs

  • Deletes 10 per-component TLS pages under operations/comms/ (apiserver-tls, manager-tls, typha-node-tls, secure-metrics, log-storage-tls, linseed-tls, compliance-tls, packetcapture-tls, crypto-auth, certificate-management).
  • Rewrites operations/comms/index.mdx as the single consolidated TLS reference (secrets table, requirements, create/update procedure).
  • Moves operations/comms/secure-bgp.mdxnetworking/configuring/secure-bgp.mdx.
  • Replays the cross-reference link updates in operations/index.mdx, operations/monitor/metrics/bgp-metrics.mdx, reference/component-resources/typha/configuration.mdx, reference/resources/bgppeer.mdx, getting-started/bare-metal/about.mdx, getting-started/bare-metal/typha-node-tls.mdx, and the three Kubernetes/OpenShift upgrade guides.
  • Restructures version-3.23-2-sidebars.json: the comms category collapses to a single operations/comms/index doc entry, and secure-bgp moves under Networking → Configuring.

From #2630EV-6493: Add operator metrics page and rename PrometheusRule

  • Adds operations/monitor/metrics/operator-metrics.mdx (copied verbatim from upstream/main:calico-enterprise/..., so it carries the operator#4663 alignment and the later clarifying edits).
  • Renames the PrometheusRule resource calico-prometheus-dp-ratecalico in operations/monitor/prometheus/configure-prometheus.mdx and operations/license-options.mdx.
  • Adds the operator-metrics entry to the version-3.23-2 sidebar under Operations → Monitoring → Metrics.

Diff shape

25 files changed: 1 add, 10 deletes, 1 rename, 13 modifies — mirrors the CE-side counts in #2631 + #2630.

Test plan

  • Netlify deploy preview builds cleanly (no broken links).
  • Switch the version selector to 3.23-2 and confirm:
    • Operations → Communications shows only the new consolidated Provide TLS certificates page (no per-component leaves).
    • Networking → Configuring → Secure BGP sessions resolves.
    • Operations → Monitoring → Metrics → Operator metrics renders.
  • Spot-check the touched cross-references (typha configuration, BGPPeer, bare-metal about, OpenShift upgrade) for live links.

🤖 Generated with Claude Code

…ion-3.23-2

Backports the user-facing doc changes from tigera#2631 and tigera#2630 into the
version-3.23-2 snapshot. Master (calico-enterprise/) was updated; the
version-3.23-2 snapshot was not, leaving a published-3.23 reader on the
old per-component TLS pages and the old PrometheusRule names.

PR tigera#2631 (TLS doc consolidation):
- Deletes 10 per-component TLS pages (apiserver-tls, manager-tls,
  typha-node-tls, secure-metrics, log-storage-tls, linseed-tls,
  compliance-tls, packetcapture-tls, crypto-auth, certificate-management).
- Rewrites operations/comms/index.mdx as the single consolidated
  reference (secrets table, requirements, create/update procedure).
- Moves operations/comms/secure-bgp.mdx to networking/configuring/.
- Updates cross-references in operations/index, bgp-metrics, typha
  configuration, bgppeer, bare-metal docs, and upgrade guides.
- Restructures the sidebar: comms collapses to a single doc entry;
  secure-bgp moves under Networking - Configuring.

PR tigera#2630 (operator metrics + PrometheusRule rename):
- Adds operations/monitor/metrics/operator-metrics.mdx documenting TLS
  expiry, component status, and license metrics.
- Renames the PrometheusRule resource from calico-prometheus-dp-rate to
  calico in configure-prometheus.mdx and license-options.mdx.
- Adds the operator-metrics entry to the version-3.23-2 sidebar.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 12, 2026 14:45
@netlify

netlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit be29729
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a2c1fb8f6513100081801be
😎 Deploy Preview https://deploy-preview-2783--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit be29729
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a2c1fb8380e3a00086f1c7b
😎 Deploy Preview https://deploy-preview-2783--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 85 (🔴 down 5 from production)
Accessibility: 98 (no change from production)
Best Practices: 83 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backports Calico Enterprise documentation updates into the calico-enterprise_versioned_docs/version-3.23-2/ snapshot to match the newer “TLS consolidation” content model and the updated operator/PrometheusRule naming, ensuring readers of the published 3.23-2 docs see the current guidance.

Changes:

  • Consolidates per-component TLS pages into a single operations/comms/index TLS reference and removes the old per-component pages from the 3.23-2 snapshot.
  • Moves “Secure BGP sessions” documentation into networking/configuring/secure-bgp and updates cross-references accordingly.
  • Adds an “Operator metrics” page and updates PrometheusRule name references to calico, plus sidebar wiring.

Reviewed changes

Copilot reviewed 24 out of 25 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
calico-enterprise_versioned_sidebars/version-3.23-2-sidebars.json Updates navigation to reflect consolidated TLS doc, moved Secure BGP doc, and new Operator metrics page.
calico-enterprise_versioned_docs/version-3.23-2/reference/resources/bgppeer.mdx Updates BGPPeer password reference to point at the moved Secure BGP sessions doc.
calico-enterprise_versioned_docs/version-3.23-2/reference/component-resources/typha/configuration.mdx Updates Typha TLS configuration reference to point at consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/monitor/prometheus/configure-prometheus.mdx Renames PrometheusRule example resource from calico-prometheus-dp-rate to calico.
calico-enterprise_versioned_docs/version-3.23-2/operations/monitor/metrics/operator-metrics.mdx Adds new operator metrics reference (metrics, example queries, built-in alerts).
calico-enterprise_versioned_docs/version-3.23-2/operations/monitor/metrics/bgp-metrics.mdx Removes link to deleted secure-metrics page.
calico-enterprise_versioned_docs/version-3.23-2/operations/license-options.mdx Updates PrometheusRule name in kubectl example to calico.
calico-enterprise_versioned_docs/version-3.23-2/operations/index.mdx Collapses comms card list to a single consolidated TLS doc entry.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/typha-node-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/secure-metrics.mdx Deleted; comms/TLS model consolidated and link removed elsewhere.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/packetcapture-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/manager-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/log-storage-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/linseed-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/index.mdx Rewritten as the consolidated “Provide TLS certificates” reference (table, procedures, monitoring, CSR API).
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/crypto-auth.mdx Deleted; content superseded by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/compliance-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/certificate-management.mdx Deleted; CSR-based management guidance now lives in consolidated TLS doc.
calico-enterprise_versioned_docs/version-3.23-2/operations/comms/apiserver-tls.mdx Deleted; content replaced by consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/networking/configuring/secure-bgp.mdx Adds the Secure BGP sessions doc in its new location (moved from comms).
calico-enterprise_versioned_docs/version-3.23-2/getting-started/upgrading/upgrading-enterprise/openshift-upgrade.mdx Updates log storage TLS link to point at consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/getting-started/upgrading/upgrading-enterprise/kubernetes-upgrade-tsee/operator.mdx Updates log storage TLS link to point at consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/getting-started/upgrading/upgrading-enterprise/kubernetes-upgrade-tsee/helm.mdx Updates log storage TLS link to point at consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/getting-started/bare-metal/typha-node-tls.mdx Updates reference from deleted Typha/Node TLS page to consolidated TLS certificates doc.
calico-enterprise_versioned_docs/version-3.23-2/getting-started/bare-metal/about.mdx Updates certfile option reference to point at consolidated TLS certificates doc.


## Monitor certificates

The operator labels and annotates every TLS secret it manages:
The DocCardLink hook (useDocUrl) constructs the href by string-joining
the docId, so docId='operations/comms/index' renders as
.../operations/comms/index which Docusaurus's broken-link checker
flags in the versioned tree (the actual route is .../operations/comms/).
Master gets away with the same pattern only because of a Netlify
/*/index /:splat 301! rewrite at the edge.

Sidestep the issue in version-3.23-2 with a plain markdown link to
the consolidated TLS reference. Loses the card visual, but the page
is reachable via the sidebar too, so the UX cost is small.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ctauchen ctauchen marked this pull request as ready for review June 12, 2026 15:40
@ctauchen ctauchen requested a review from a team as a code owner June 12, 2026 15:40
@ctauchen ctauchen merged commit 5893b3f into tigera:main Jun 12, 2026
10 of 11 checks passed
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