Skip to content

Strip dead values.yaml keys - #462

Open
boddumanohar wants to merge 2 commits into
mainfrom
helm-values-cleanup
Open

boddumanohar wants to merge 2 commits into
mainfrom
helm-values-cleanup

Conversation

@boddumanohar

@boddumanohar boddumanohar commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

Found while auditing values.yaml for dead configuration: leaf values with no live template reference anywhere in the chart.

Dead values removed

  • spdkdev.create, benchmarks — zero references anywhere in the chart.
  • storagenode.numDataChunks, storagenode.numParityChunks, storagenode.journalManager — superseded by the cluster-scoped StripeSpec/enableJournalDevice sizing fields (PR refactor(api): make storage-node sizing cluster-scoped, replace partitions with enableJournalDevice #446/fixup(api): make storage-node sizing cluster-scoped, replace parti… #448).
  • controlplane.observability.graylog.pullPolicy, .retentionPeriod, .grafana.pullPolicy, .thanos.pullPolicy — repository/tag are wired for all three containers, but none of them sets imagePullPolicy at all (falls back to the Kubernetes default), so these four were pure dead config.
  • logicalVolume.* (the whole block: pool_name, the QoS knobs, encryption, numDataChunks/numParityChunks, max_namespace_per_subsys, tune2fs_reserved_blocks, fabric) — its last live reader, templates/job.yaml, has since been deleted, so nothing in the chart reads any of these keys anymore.

Test plan

  • helm lint helm-charts/charts/simplyblock-operator/
  • helm template renders cleanly with defaults
  • Confirmed no remaining references anywhere in the chart to any of the removed keys, against current main

🤖 Generated with Claude Code

@noctarius
noctarius force-pushed the main branch 2 times, most recently from 60dceb7 to fbaabe4 Compare September 9, 2026 10:21
@boddumanohar
boddumanohar force-pushed the helm-values-cleanup branch 2 times, most recently from dcd1c8a to 9bac8f3 Compare September 14, 2026 13:13
@boddumanohar boddumanohar changed the title Fix two copy-paste bugs and strip dead values.yaml keys Strip dead values.yaml keys Sep 14, 2026
Found while auditing values.yaml for dead configuration: leaf values
with no live template reference anywhere in the chart.

- spdkdev.create, benchmarks — zero references anywhere in the chart.
- storagenode.numDataChunks, numParityChunks, journalManager —
  superseded by the cluster-scoped StripeSpec/enableJournalDevice
  sizing fields (PR #446/#448).
- controlplane.observability.graylog.pullPolicy, .retentionPeriod,
  grafana.pullPolicy, thanos.pullPolicy — repository/tag are wired for
  all three containers, but none of them sets imagePullPolicy at all
  (falls back to the Kubernetes default), so these four were pure dead
  config.
- logicalVolume.* (the whole block) — templates/job.yaml, its last
  live reader, has since been deleted; nothing in the chart reads any
  of these keys anymore.

The controller.yaml tolerations/imagePullPolicy copy-paste fixes from
the original version of this change are dropped: templates/controller.yaml
was deleted from main when the CSI controller moved to the
SimplyblockDriver CRD (#513), so that file and its bug no longer exist.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Comment thread helm-charts/charts/simplyblock-operator/values.yaml Outdated
storagenode.create gated a helm-based DaemonSet/ServiceAccount/ClusterRole
deployment of storage nodes, superseded by the operator's StorageNodeSet
reconciler. It defaults to false and nothing still relies on the chart
having created these. multiCluster was the one live sub-key, read outside
the create gate by the CSI secret and event-alert templates, so it moves
to the top level instead of being deleted with the rest.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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