[Misc] Plugin: providerSubaccountId runtime support added#85
Open
[Misc] Plugin: providerSubaccountId runtime support added#85
providerSubaccountId runtime support added#85Conversation
Pavan-SAP
commented
Feb 20, 2026
2da0841 to
37d7907
Compare
37d7907 to
5e8aa4f
Compare
Enhancement to source `providerSubaccountId` at runtime. - misc adjustments until the field becomes mandatory (soon).
5e8aa4f to
a85c69a
Compare
|
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.



Add
providerSubaccountIdRuntime Support to CAP Operator PluginNew Features
✨ Added support for the
providerSubaccountIdfield across the CAP Operator plugin to prepare for its transition to a mandatory field in upcoming releases.Changes
This pull request introduces the
providerSubaccountIdparameter throughout the CAP Operator plugin infrastructure, ensuring it is properly handled in runtime value generation, schema validation, and template files.bin/cap-op-plugin.js: AddedproviderSubaccountIdto required fields for both service-only and full application charts, and included a new interactive prompt to capture the provider sub-account ID during runtime value generation.files/chart/values.yaml.hbs&files/configurableTemplatesChart/values.yaml.hbs: AddedproviderSubaccountIdfield with documentation comment to the BTP configuration section, changingglobalAccountIdfrom mandatory (with inline comment) to optional.files/chart/values.schema.json&files/configurableTemplatesChart/values.schema.json: RemovedglobalAccountIdfrom the required fields array in the BTP schema definition and addedproviderSubaccountIdas an optional string property.files/runtime-values.yaml.hbs: AddedproviderSubaccountIdinterpolation to the BTP section of the runtime values template.lib/util.js: Modified the CAP Operator Custom Resource template generation to includeproviderSubaccountIdin the spec section alongsideglobalAccountId.test/cap-op-plugin.test.js: Updated all test cases to include the newproviderSubaccountIdprompt response, adjusting the call sequence indices for subsequent prompts across multiple chart type scenarios (standard, configurable templates, service-only, and IAS variants).Test fixture files (
test/files/expectedChart/*.yaml,test/files/expectedConfigurableTemplatesChart/*.yaml,test/files/*.yaml): Updated all expected output files and test input files to include theproviderSubaccountIdfield in the BTP configuration section, ensuring consistency across all test scenarios.📬 Subscribe to the Hyperspace PR Bot DL to get the latest announcements and pilot features!
PR Bot Information
Version:
1.17.61| 📖 Documentation | 🚨 Create Incident | 💬 Feedbackpull_request.editedanthropic--claude-4.5-sonnet51c39610-1159-11f1-8b02-59114c28cfe0