Conversation
…-chart - template delete: confirmation-prompted deletion via deleteByID pattern (#43) - orphaned list/delete: manage namespaces with stack-manager label but no matching DB record (#44) - definition update: add --branch flag for default_branch (#46) - definition update-chart: GET-merge-PUT pattern to preserve unspecified fields; supports --chart-path, --chart-version, --deploy-order, --file (#46) Closes #43, closes #44, closes #46 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add template delete, orphaned namespace list/delete sections - Add definition update (--branch), update-chart examples - Document name-based resolution in stack and bulk commands - Add stack history/rollback/history-values examples - Update project structure (orphaned.go, resolve.go) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Adds CLI commands for three related issues:
stackctl template delete— confirmation-prompted template deletion using the existingdeleteByIDpattern (feat: add template delete command to stackctl CLI #43)stackctl orphaned list/delete— list and clean up Kubernetes namespaces that have the stack-manager label but no matching DB record (Add orphaned namespace management commands #44)stackctl definition update --branch— adds--branchflag to setdefault_branchon definitions (Add definition update and update-chart commands #46)stackctl definition update-chart— update a chart config within a definition using GET-merge-PUT to preserve unspecified fields; supports--chart-path,--chart-version,--deploy-order,--file(Add definition update and update-chart commands #46)Changes
types.goOrphanedNamespace,UpdateChartConfigRequest,DefaultBranchonUpdateDefinitionRequestclient.goDeleteTemplate,ListOrphanedNamespaces,DeleteOrphanedNamespace,GetDefinitionChart,UpdateDefinitionCharttemplate.gotemplateDeleteCmdorphaned.goorphanedCmd,orphanedListCmd,orphanedDeleteCmddefinition.go--branchflag to update, adddefinitionUpdateChartCmdwith merge logicDesign notes
update-chartfetches current chart config before updating so unspecified fields (chart_path, deploy_order, etc.) are preserved — addressing the root cause described in Add definition update and update-chart commands #46--filehappen before any API calls--deploy-orderuses sentinel default (-1) to distinguish "not set" from explicit 0Test plan
go test ./...)Closes #43, closes #44, closes #46
🤖 Generated with Claude Code