Repository navigation
chore(storage): remove democratic-csi leftovers - #39
Merged
Merged
Conversation
Nothing on any cluster uses democratic-csi any more (no CSIDriver, StorageClass, PV, Helm release or namespace; the last orphaned Released PV on nprd was deleted). Drop the democratic_csi_* variables, the three deploy_democratic_csi_* null_resources (count 0, never in state), the democratic_csi_config output, the install/values-generation scripts and the setup doc. Point docs at TrueNAS CSI.
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
democratic-csi is fully retired. Verified on all four clusters on 2026-10-04: no CSIDriver, StorageClass, PV/PVC, VolumeAttachment, Helm release, namespace, CRD or RBAC object left (manager, nprd-apps, prd-apps, poc-apps). The one orphaned
ReleasedPV on nprd-apps (pvc-25d4289c…, old Loki ingester, drivertruenas-nfs) was set toRetainand deleted (YAML backed up locally). Its TrueNAS dataset was not touched.This PR removes the code side:
terraform/variables.tf: alldemocratic_csi_*/install_democratic_csivariablesterraform/main.tf:null_resource.deploy_democratic_csi_{nprd,prd,poc}_apps(count was 0; none are in state, so no plan changes)terraform/outputs.tf:democratic_csi_configoutput (only change on next apply: that output disappears from state)terraform/terraform.tfvars.example: democratic blockscripts/install-democratic-csi.sh,scripts/generate-helm-values-from-tfvars.sh,docs/DEMOCRATIC_CSI_TRUENAS_SETUP.mddeleted.gitignoreentries for generated democratic values files are kept on purpose so a restored copy can't be committedThe local
terraform.tfvarsdemocratic entries were already removed (backup kept, mode 600).Test plan
terraform init -backend=false && terraform validatepassesdemocraticresources; only the outputMade with Cursor