Skip to content

docs(openspec): plan #3647 Read CNPG Clusters in the placement test - #4268

Merged
dan-petty merged 2 commits into
mainfrom
fix/3647-move-the-mattermost-database-off-the
Nov 9, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3647-move-the-mattermost-database-off-the

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3647

The placement test reads claims from chart values, Deployments, StatefulSets and Jobs. It does not read a CloudNativePG Cluster, so the claim of the Mattermost database, which sits on the control-plane node, passes the check. This change reads each Cluster that sets spec.storage as a pod on a claim, takes its affinity from spec.affinity, and fails when that affinity does not keep the pod off the control-plane node. The Mattermost Cluster and the gateway Cluster are exempt, each with a reason that names the item that moves it. A unit case pins the reader on literal Cluster documents. The live move needs a backup and a person, so the manifest keeps no affinity and the move stays with dan-petty/homelab#333.

Change: openspec/changes/3647-move-the-mattermost-database-off-the/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 9, 2026
@dan-petty
dan-petty force-pushed the fix/3647-move-the-mattermost-database-off-the branch from 62582d8 to 1572b48 Compare November 9, 2026 22:00
dan-petty and others added 2 commits November 9, 2026 22:11
The plan reader partitioned a pending-person line on `, `. That split truncated each acceptance criterion that contained a comma. Partition on `., ` when present. Keep the period of the criterion and keep commas inside the criterion intact.
@dan-petty
dan-petty force-pushed the fix/3647-move-the-mattermost-database-off-the branch from 1572b48 to d0b6e63 Compare November 9, 2026 22:12
@dan-petty
dan-petty marked this pull request as ready for review November 9, 2026 22:21
@dan-petty
dan-petty self-requested a review as a code owner November 9, 2026 22:21
@dan-petty
dan-petty merged commit 84117ac into main Nov 9, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/3647-move-the-mattermost-database-off-the branch November 9, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant