feature: adding subscription key for quotaizer msi - #6443
feature: adding subscription key for quotaizer msi#6443Rachel Weber (rachelvweber) wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rachelvweber The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Pull request overview
Adds a new quotaizer.managedIdentitySubscriptionKey config field (defaulting to hcp-global) so the quotaizer managed identity’s subscription can be overridden (e.g., in MSFT stg) without having to restructure deployment pipelines.
Changes:
- Introduce
defaults.quotaizer.managedIdentitySubscriptionKeyinconfig/config.yaml. - Extend
config/config.schema.jsonto allow the new quotaizer field. - Regenerate rendered dev configs to include the new field.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| config/config.yaml | Adds the new quotaizer default managedIdentitySubscriptionKey. |
| config/config.schema.json | Adds schema property for quotaizer.managedIdentitySubscriptionKey (description updated needed per comment). |
| config/rendered/dev/pers/westus3.yaml | Materialized output includes the new quotaizer field. |
| config/rendered/dev/perf/westus3.yaml | Materialized output includes the new quotaizer field. |
| config/rendered/dev/dev/westus3.yaml | Materialized output includes the new quotaizer field. |
| config/rendered/dev/cspr/westus3.yaml | Materialized output includes the new quotaizer field. |
| config/rendered/dev/ci01/centralus.yaml | Materialized output includes the new quotaizer field. |
| config/rendered/dev/ci00/centralus.yaml | Materialized output includes the new quotaizer field. |
9cfe1e7 to
1dbd021
Compare
1dbd021 to
84a79b1
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (1)
config/config.schema.json:3179
- The schema description for
managedIdentitySubscriptionKeylooks inconsistent with the surroundingquotaizerconfig (it mentions "the refresher"), which can mislead readers about what this key is for. Consider updating the description to explicitly reference the quotaizer managed identity/subscription key purpose.
"managedIdentitySubscriptionKey": {
"type": "string",
"description": "The ev2 subscription key for the MSI that will be used by quotaizer"
},
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (1)
config/config.yaml:467
- PR title uses the non-standard Conventional Commits type
feature:. CONTRIBUTING.md requires standard prefixes likefeat:,fix:,docs:, etc.; please rename the PR title accordingly (the checklist currently claims the title follows Conventional Commits).
# This should be removed and replaced with global.subscription.key in quotaizer deployment pipeline once old stg infra is decommissioned (AROSLSRE-1202)
managedIdentitySubscriptionKey: "hcp-global"
ARO-28898
What
Adding a subscription key for the quotaizer msi
Why
This MSI is shared across environments, but it should be separate for stg and production. Because the global subscription key in stg is still pointing to the global production subscription, adding a field here that I can overwrite in stg. Without this, the deployment pipeline is quite messy.
Testing
N/A just adding a field to config.
Special notes for your reviewer
PR Checklist
If E2E tests are included:
demonstrate that the test is able to detect a defect/error and fail with
proper error message and logs which communicates nature of the problem.