diff --git a/cmd/broker/main.go b/cmd/broker/main.go index 34d00efd31..840df7a91f 100644 --- a/cmd/broker/main.go +++ b/cmd/broker/main.go @@ -141,6 +141,8 @@ type Config struct { EuAccessWhitelistedGlobalAccountsFilePath string EuAccessRejectionMessage string `envconfig:"default=Due to limited availability you need to open support ticket before attempting to provision Kyma clusters in EU Access only regions"` + SapConvergedCloudRegionMappingsFilePath string + MaxPaginationPage int `envconfig:"default=100"` LogLevel string `envconfig:"default=info"` diff --git a/resources/keb/templates/app-config.yaml b/resources/keb/templates/app-config.yaml index e112646791..99070fb6c1 100644 --- a/resources/keb/templates/app-config.yaml +++ b/resources/keb/templates/app-config.yaml @@ -22,6 +22,10 @@ data: euAccessWhitelistedGlobalAccountIds.yaml: |- {{- with .Values.euAccessWhitelistedGlobalAccountIds }} {{ tpl . $ | indent 4 }} +{{- end }} + sapConvergedCloudPlanRegionMappings.yaml: |- +{{- with .Values.sapConvergedCloudPlanRegionMappings }} +{{ tpl . $ | indent 4 }} {{- end }} skrOIDCDefaultValues.yaml: |- {{- with .Values.skrOIDCDefaultValues }} diff --git a/resources/keb/templates/deployment.yaml b/resources/keb/templates/deployment.yaml index 16cdb1fc9f..44d1929a84 100644 --- a/resources/keb/templates/deployment.yaml +++ b/resources/keb/templates/deployment.yaml @@ -330,6 +330,8 @@ spec: value: /config/trialRegionMapping.yaml - name: APP_EU_ACCESS_WHITELISTED_GLOBAL_ACCOUNTS_FILE_PATH value: /config/euAccessWhitelistedGlobalAccountIds.yaml + - name: APP_SAP_CONVERGED_CLOUD_REGION_MAPPINGS_FILE_PATH + value: /config/sapConvergedCloudPlanRegionMappings.yaml - name: APP_EU_ACCESS_REJECTION_MESSAGE value: "{{ .Values.euAccessRejectionMessage }}" - name: APP_FREEMIUM_PROVIDERS diff --git a/resources/keb/values.yaml b/resources/keb/values.yaml index 09393f2aa1..9301421807 100644 --- a/resources/keb/values.yaml +++ b/resources/keb/values.yaml @@ -211,6 +211,15 @@ euAccessWhitelistedGlobalAccountIds: |- whitelist: euAccessRejectionMessage: "Due to limited availability, you need to open support ticket before attempting to provision Kyma clusters in EU Access only regions" +# Following data serves just as a template +sapConvergedCloudPlanRegionMappings: |- + cf-eu20-staging: + - eu-de-1 + - eu-de-2 + cf-eu21-staging: + - eu-de-3 + - eu-de-4 + kymaVersion: "2.0" kymaVersionOnDemand: "false"