From 17d61f063d217b43035d0aa2c0cce1731a6d48d4 Mon Sep 17 00:00:00 2001 From: i325261 Date: Wed, 3 Apr 2024 15:46:33 +0200 Subject: [PATCH] consumedService adjusted for approuter & server --- files/approuter.yaml.hbs | 3 +++ files/server.yaml.hbs | 3 --- test/files/expectedChart/values.yaml | 1 + test/files/expectedChart/valuesWithDestination.yaml | 2 +- test/files/expectedChart/valuesWithXsuaaDestinationRouter.yaml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/files/approuter.yaml.hbs b/files/approuter.yaml.hbs index c92b71b..696c484 100644 --- a/files/approuter.yaml.hbs +++ b/files/approuter.yaml.hbs @@ -13,6 +13,9 @@ workloads: {{#hasHTML5Repo}} - {{appName}}-html5-repo-runtime-bind {{/hasHTML5Repo}} + {{#hasMultitenancy}} + - {{appName}}-saas-registry-bind + {{/hasMultitenancy}} deploymentDefinition: type: Router image: diff --git a/files/server.yaml.hbs b/files/server.yaml.hbs index a60a2f7..5301358 100644 --- a/files/server.yaml.hbs +++ b/files/server.yaml.hbs @@ -7,9 +7,6 @@ workloads: {{#hasXsuaa}} - {{appName}}-uaa-bind {{/hasXsuaa}} - {{#hasDestination}} - - {{appName}}-destination-bind - {{/hasDestination}} {{#hasMultitenancy}} - {{appName}}-saas-registry-bind - {{appName}}-service-manager-bind diff --git a/test/files/expectedChart/values.yaml b/test/files/expectedChart/values.yaml index f6b1fe9..94b07b9 100644 --- a/test/files/expectedChart/values.yaml +++ b/test/files/expectedChart/values.yaml @@ -70,6 +70,7 @@ workloads: sme.sap.com/app-type: bookshop consumedBTPServices: - bookshop-uaa-bind + - bookshop-saas-registry-bind deploymentDefinition: type: Router image: null diff --git a/test/files/expectedChart/valuesWithDestination.yaml b/test/files/expectedChart/valuesWithDestination.yaml index a9098d8..d8e7d86 100644 --- a/test/files/expectedChart/valuesWithDestination.yaml +++ b/test/files/expectedChart/valuesWithDestination.yaml @@ -83,6 +83,7 @@ workloads: consumedBTPServices: - bookshop-uaa-bind - bookshop-destination-bind + - bookshop-saas-registry-bind deploymentDefinition: type: Router image: null @@ -95,7 +96,6 @@ workloads: sme.sap.com/app-type: bookshop consumedBTPServices: - bookshop-uaa-bind - - bookshop-destination-bind - bookshop-saas-registry-bind - bookshop-service-manager-bind deploymentDefinition: diff --git a/test/files/expectedChart/valuesWithXsuaaDestinationRouter.yaml b/test/files/expectedChart/valuesWithXsuaaDestinationRouter.yaml index fcaf704..3a592ef 100644 --- a/test/files/expectedChart/valuesWithXsuaaDestinationRouter.yaml +++ b/test/files/expectedChart/valuesWithXsuaaDestinationRouter.yaml @@ -83,6 +83,7 @@ workloads: consumedBTPServices: - bookshop-uaa-bind - bookshop-destination-bind + - bookshop-saas-registry-bind deploymentDefinition: type: Router image: null @@ -95,7 +96,6 @@ workloads: sme.sap.com/app-type: bookshop consumedBTPServices: - bookshop-uaa-bind - - bookshop-destination-bind - bookshop-saas-registry-bind - bookshop-service-manager-bind deploymentDefinition: