You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add override support for subscriptions, gateways, and products #113
The override system currently supports 5 resource sections: namedValues, backends, apis, diagnostics, and loggers. Several other top-level resource types that commonly differ between environments are missing override support.
Missing override sections (prioritized)
High priority
Subscriptions — different scope/keys per environment
Gateways — different gateway configurations per environment (e.g., self-hosted gateway endpoints)
Products — different approval settings, quotas, or subscription limits per environment
Lower priority (may not need overrides in practice)
PolicyFragments — could need env-specific policy content
PolicyRestrictions — could need env-specific config
ServicePolicy — could need env-specific policy content
What needs to change
For each new section:
Add an XxxOverride interface in src/models/config.ts
Add the section field to OverrideConfig
Add a case ResourceType.Xxx in src/services/override-merger.ts
Add the section name to normalizeOverrideSection() in src/lib/config-loader.ts
Update docs/guides/environment-overrides.md with examples
Closing — this is already implemented in the current codebase. PR #115 (and its predecessor #102) added full override support for all resource types including subscriptions, gateways, products, policyFragments, tags, groups, versionSets, and workspaces. The OverrideConfig interface, OVERRIDE_SECTION_MAP in override-merger.ts, and ALL_OVERRIDE_SECTIONS in config-loader.ts all include these sections.
(Comment by Copilot CLI, verifying code on behalf of phauge)
Activity
petehauge commentedon Jun 11, 2026
Closing — this is already implemented in the current codebase. PR #115 (and its predecessor #102) added full override support for all resource types including subscriptions, gateways, products, policyFragments, tags, groups, versionSets, and workspaces. The
OverrideConfiginterface,OVERRIDE_SECTION_MAPin override-merger.ts, andALL_OVERRIDE_SECTIONSin config-loader.ts all include these sections.(Comment by Copilot CLI, verifying code on behalf of phauge)