Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.61 KB

03-20-multitenancy.md

File metadata and controls

28 lines (17 loc) · 1.61 KB

Working with Multiple Subaccounts

With the SAP BTP Operator module, you can create configurations for several subaccounts in a single Kyma cluster.

Context

By default, a Kyma cluster is associated with one subaccount. Consequently, any service instance created within any namespace is provisioned in the associated subaccount. See Preconfigured Credentials and Access. However, with SAP BTP Operator, you can create configurations in a single Kyma cluster that are applied to several subaccounts. To apply the multitenancy feature, choose the method that suits your needs and application architecture:

  • Namespace-level mapping: Connect namespaces to separate subaccounts by configuring dedicated credentials for each namespace.
  • Instance-level mapping: Define a specific subaccount for each service instance, regardless of the namespace context.

Regardless of the method, you must create Secrets managed in the kyma-system namespace.

Secrets Precedence

SAP BTP Operator searches for the credentials in the following order:

  1. Explicit Secret defined in a service instance
  2. Managed namespace Secret assigned for a given namespace
  3. Managed namespace default Secret

Secrets precedence

Procedure