UNCLASSIFIED - NO CUI

Fix Mattermost TLS selectors and enforce browser regression tests

General MR

Summary

Fix the Mattermost defects in #304 (closed) and bump the chart to 11.11.1-bb.2. The ticket's requirements map to these changes and results:

Ticket requirement What this MR fixes Verification
Valid alternative TLS sources; preserve existing monitoring behavior Strict-sidecar defaults previously added caFile alongside a supplied ca selector, with equivalent certificate/key conflicts. Default each source independently: selectors replace only the corresponding file default; explicit overrides remain intact. 45 Helm tests pass, including 16 ServiceMonitor cases covering Secret, ConfigMap, partial overrides, explicit files/scheme, and existing mesh modes. Live Prometheus validation and HTTPS scrape checks pass for each source variant.
Existing five Node tests block required CI Package the same suite into the required Helm test pod and run it before Cypress with node --test … && npx cypress run …; preserve the local test command through a wrapper. Actual runner: 5 Node + 2 browser tests pass. An injected sixth failing test in a copy of that pod returns exit 1 and prevents Cypress from starting. This tests pod failure propagation; no upstream pipeline was deliberately failed.
Remove unused sso.host Delete the unused helper. No definitions or references remain across 322 package/test/dependency files checked.
Correct all three cited examples Replace retired hardened settings with bb-common.istio.sidecar and bb-common.istio.authorizationPolicies in docs/mattermost.example.yaml and both docs/dev-overrides/mattermost-testing*.yaml examples. Changed networking blocks pass schema validation and render REGISTRY_ONLY Sidecar and AuthorizationPolicy resources.

Relevant logs/screenshots

Focused evidence: four numbered sections matching the table above — 70 lines, including actual runner output, failure-propagation results, loaded Prometheus TLS paths, and fresh successful scrape timestamps.

  • Live k3d-dev upgrade: released .bb.1 → candidate .bb.2; all 12 HelmReleases Ready, all 5 PVC/backing-volume identities retained. Secret selectors, ConfigMap CA/certificate with Secret key, partial CA override, and restored file defaults each produced healthy HTTPS scrapes.
  • Published-commit CI: pipeline 5800712 passed, including all four default/SSO clean-install and upgrade jobs.
Full audit archive (optional)

Original logs, snapshots, verification scripts, cleanup proof, and commit provenance. Live-tested and published commits have identical file trees. Historical CI records in this archive predate the successful pipeline linked above.

Linked Issue

#304 (closed): this MR addresses findings 1–4; Operator !165 addresses finding 5 (the obsolete guide). Keep #304 (closed) open: both merges, chart publication, and the Big Bang released-version pin update must be completed.

Upgrade Notices

Explicitly combining ca/caFile, cert/certFile, or keySecret/keyFile now fails Helm rendering with a field-specific error; Prometheus Operator already rejects these combinations. Select one source per field. Partial selectors retain file defaults for other sources.

Edited by Andrew Kesterson

Merge request reports

Loading
Loading