feat(umbrella): spec.enabled - deploy any component subset (transitive dep closure)#26
Merged
Merged
Conversation
…e dep closure) The orchestrator only had profile identity|full (full = all 34 services). Add an explicit selector: spec.enabled is a list of component names that overrides profile and is expanded to its transitive dependency closure, so e.g. enabled:[heat] emits exactly heat + keystone + rabbitmq + mariadb + memcached (and nothing else). Lets the umbrella deploy a small chain on a small cluster while staying the real orchestrator. - _helpers.tpl: osh.selected computes the closure (or falls back to profile/tier). - definitions.yaml + compositions.yaml gate on the selected set. - values.yaml: enabled (null default -> profile mode); values.schema.json: enabled array|null on the Openstack spec; README example. Validated: enabled=[heat] -> 5-chain; enabled=[nova] -> 10-component closure; profile identity=5 / full=34; lint clean; deterministic. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
The umbrella only had
profile: identity|full(full = all 34 services). Addsspec.enabled: an explicit component list that overridesprofileand is expanded to its transitive dependency closure, soenabled: [heat]emits exactly heat + keystone + rabbitmq + mariadb + memcached.osh.selectedhelper computes the closure (or falls back to profile/tier gating).definitions.yaml+compositions.yamlgate on the selected set.enabledon values + schema (array|null) + README example.Validated:
enabled=[heat]→5-chain,enabled=[nova]→10-component closure, profile identity=5/full=34; lint clean; deterministic.🤖 Generated with Claude Code