Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/k8sKubernetes commands, Helm charts, pods, services, and policiessource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Description
Problem
Checked at devops-cli main 3f8f7a9.
- dan-petty/danielpetty.com keeps the Pixelfed database and media in namespace
danielpetty-com-pixelfed(feat(k8s): add the Pixelfed database and Valkey manifests danielpetty.com#30, dan-petty/danielpetty.com#31) on node-local volumes. Alocal-pathvolume stops with its node (docs/SERVICE_PATTERNS.mdST5). - feat(k8s): add the danielpetty-com backup bucket and key #6648 adds the bucket and key of namespace
danielpetty-comonly, so the notes backup does not wait for Pixelfed. - feat(k8s): apply store buckets, keys and rules from git #4756 gives each writer identity a Secret
object-store-<identity>with keysaccessKeyandsecretKey, an S3Credentials with asecretRefto it and a ResourceReferenceGrant in the writer namespace.push-secrets --onlyfails when the namespace of the row does not exist (src/devops_cli/k8s/secret_push.py:453-470), so these rows need namespacedanielpetty-com-pixelfed(feat(k8s): add the danielpetty-com-pixelfed namespace and Secrets #6645) first. - The Barman Cloud
ObjectStoreof the database and the k8up Schedule of the media read the same key pair (feat(backup): back up the Pixelfed database and media off their node danielpetty.com#34).
Proposed remedy
The form of #6648, with the CRs of #4756:
- Bucket
backups-danielpetty-com-pixelfed: quota 30 GiB,reclaimPolicy: Retain, no Expiration rule, no anonymous access. - S3Identity
backup-danielpetty-com-pixelfedwith an S3Policy and an S3PolicyBinding, so the key works only on that bucket. S3Credentials withsecretRefto Secretobject-store-backup-danielpetty-com-pixelfedin namespacedanielpetty-com-pixelfed, and a ResourceReferenceGrant there. The project of the Application that applies these CRs gets that namespace as a destination. - ClusterSecret rows in stack
danielpetty-com-pixelfed:danielpetty-com-pixelfed/object-store-backup-danielpetty-com-pixelfed:accessKeyandsecretKeywith SecretGenerator values;danielpetty-com-pixelfed/backup-restic: keypassword, required, generatorurlsafewith 32 bytes, with thechange_noteof feat(k8s): add the danielpetty-com backup bucket and key #6648.
- The store perimeter admits namespace
danielpetty-com-pixelfedon TCP 8333. - AppProject
danielpetty-com: orphan ignore entries for both Secrets. k8s/README.md: the Secret table rows and the bucket list.- Change each test first.
Premise check: as in #6642 (#5134 plan step 12).
Acceptance criteria
-
uv run devops ci --check --only k8s,kube-linter,domainpasses. -
uv run devops k8s push-secrets --only danielpetty-com-pixelfed/object-store-backup-danielpetty-com-pixelfed --dry-runand the same command fordanielpetty-com-pixelfed/backup-resticlist the keys and no value. - After the sync:
kubectl -n object-store get buckets.seaweed.seaweedfs.com backups-danielpetty-com-pixelfedshows the bucket with its quota. - The S3Identity, S3Policy, S3PolicyBinding and S3Credentials of
backup-danielpetty-com-pixelfedshow a ready status inkubectl getof each kind. feat(backup): back up the Pixelfed database and media off their node danielpetty.com#34 tests the key against the store.
Person steps
- Before the merge, from the branch:
uv run devops k8s push-secrets --only danielpetty-com-pixelfed/object-store-backup-danielpetty-com-pixelfedanduv run devops k8s push-secrets --only danielpetty-com-pixelfed/backup-restic. Then--planmust showunchanged. - Keep a copy of the restic password outside the cluster and the workstation.
Dependencies
- feat(k8s): add the danielpetty-com-pixelfed namespace and Secrets #6645: the namespace and stack
danielpetty-com-pixelfed. - feat(k8s): add the danielpetty-com backup bucket and key #6648: the form of the rows and CRs.
- feat(k8s): run a three-node SeaweedFS object store #4750: the store. feat(k8s): apply store buckets, keys and rules from git #4756: the CRs and the key flow.
Alternatives check of 2026-11-21: none.
Tool: none found.
Reason: Searches returned nothing usable except SeaweedFS and its cluster operator, which deploys the store but creates no per-namespace bucket, scoped key, or ClusterSecret and AppProject rows. The need is a repository-specific config change.
Lacks:
- No bucket with 30 GiB quota and Retain policy
- No per-bucket S3Identity, S3Policy or S3PolicyBinding
- No ClusterSecret rows or push-secrets dry-run coverage
- No store perimeter or AppProject orphan entries
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/k8sKubernetes commands, Helm charts, pods, services, and policiessource/agentFiled by an agenttype/featureType feature: a new functionvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 21, 2026
Both add a SeaweedFS bucket and S3Identity for a danielpetty-com namespace, but the candidate targets danielpetty-com-pixelfed while #6648 targets danielpetty-com.devops-cli-service commentedon Nov 21, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (7)
Tools considered:
Searches run:
Sources:
dan-petty commentedon Nov 21, 2026
Closed as not planned. The same mechanism covers the Pixelfed namespace: the tenant chart (dan-petty/infra#14) makes the bucket
backups-danielpetty-com-pixelfed, its scoped identity and the key Secret, and the services entry sets a quota of 30 GiB (dan-petty/homelab#86). The WAL archive objects and the restic password live in the site repository (dan-petty/danielpetty.com#34). The bucket form follows #4756, and k8up comes from #2144.