Skip to content

[FEAT] Operator: AppId handling enhanced#338

Draft
Pavan-SAP wants to merge 1 commit intomainfrom
gaIddeprecate
Draft

[FEAT] Operator: AppId handling enhanced#338
Pavan-SAP wants to merge 1 commit intomainfrom
gaIddeprecate

Conversation

@Pavan-SAP
Copy link
Copy Markdown
Member

Further changes to replace globalAccountId with providerSubaccountId.

  • Deprecate globalAccountId and make it optional (TODO: Check if either of globalAccountId or providerSubaccountId is specified.
  • Generate new appId based labels/annotations.

@Pavan-SAP Pavan-SAP force-pushed the gaIddeprecate branch 2 times, most recently from dcadcf6 to b58d85b Compare February 24, 2026 10:27
@sonarqubecloud
Copy link
Copy Markdown

@Pavan-SAP Pavan-SAP force-pushed the gaIddeprecate branch 4 times, most recently from ca9b49e to 6633d9e Compare April 15, 2026 10:03
@sonarqubecloud
Copy link
Copy Markdown

Further changes to replace `globalAccountId` with `providerSubaccountId`.
- Deprecate `globalAccountId` and make it optional
We now check if `providerSubaccountId` is specified. If so:
- Generate new appId based labels/annotations for Operator resources.
providerSubAccountId := ca.Annotations[AnnotationProviderSubAccountId]
// If no provider subaccount id annotation is found use provider tenantId that is needed because some cds / hana APIs seem to rely on this field instead of tenantId!
if providerSubAccountId == "" {
providerSubAccountId = ca.Spec.Provider.TenantId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant