Convert mattermost-operator to bb-common subchart
General MR
Summary
Convert mattermost-operator to the bb-common subchart values API and remove the library render includes. Preserve package-specific OpenShift behavior and update rendering tests, generated README, chart version, and migration guidance.
This is paired with mattermost#303 (closed) and the companion umbrella branch below.
Relevant logs/screenshots
-
Fresh operator pipeline 5774442: all static checks and all four clean-install/upgrade scenarios passed against the updated paired branches; both clean-install scans contain zero BlackHoleCluster findings.
-
helm lint chart: passed. -
All seven Helm unit tests passed, including exact permissions, service account, and a custom release namespace for the leader-election Role/RoleBinding.
-
Umbrella: 534 Helm unit tests passed across 97 suites.
-
Package pipeline 5774133: default clean install, default upgrade, post-install clean install, and post-install upgrade all passed.
-
Dedicated AWS K3D runtime verification on 2026-10-22: Flux fetched commit
21eb4bc; the operator recorded a LeaderElection Event; no rejected Event recording appeared in operator logs. Live authorization checks allow Events create/patch in the operator namespace and deny both in the Mattermost namespace. -
Shared paired-deployment proof: runtime test report and captured evidence.
-
Commits are signed and contain no co-author trailers.
Companion umbrella MR: big-bang/bigbang!8395 (merged)
Paired package MR: mattermost!397 (merged)
Umbrella Branch
akesterson/bb-common-subchart
Linked Issue
Closes #126 (closed)
Upgrade Notices
Big Bang values that override mattermost-operator's istio, networkPolicies, or routes must move under a bb-common key: packages.mattermostOperator.values.bb-common.
The companion umbrella removes legacy hardened-key translation and the package's _bb-common-migrations.tpl. Replace legacy istio.hardened overrides with supported bb-common.istio settings. Replace networkPolicies.controlPlaneCidr / vpcCidr translation with explicit networkPolicies.egress.definitions.kubeAPI (or the package's nested definition override).
See migration guidance. Do not merge until the final Big Bang 3.x release has shipped; coordinate both packages with the umbrella change.