@sap/cds-dk 6.8.3 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/bin/activate.js +15 -7
  2. package/bin/add.js +29 -15
  3. package/bin/bind.js +49 -116
  4. package/bin/build.js +114 -0
  5. package/bin/cds.js +67 -24
  6. package/bin/compile/index.js +2 -2
  7. package/bin/deploy/index.js +46 -39
  8. package/bin/deploy/to-hana.js +11 -8
  9. package/bin/deploy/to-postgres.js +8 -2
  10. package/bin/deploy/to-sqlite.js +0 -1
  11. package/bin/env.js +75 -41
  12. package/bin/eval.js +3 -3
  13. package/bin/extend.js +17 -10
  14. package/bin/help.js +22 -21
  15. package/bin/import.js +10 -7
  16. package/bin/init.js +38 -17
  17. package/bin/login.js +69 -55
  18. package/bin/logout.js +12 -9
  19. package/bin/migrate.js +10 -4
  20. package/bin/pull.js +12 -5
  21. package/bin/push.js +24 -13
  22. package/bin/repl.js +1 -0
  23. package/bin/run.js +25 -0
  24. package/bin/subscribe.js +13 -8
  25. package/bin/unsubscribe.js +15 -8
  26. package/bin/upgrade.js +15 -9
  27. package/bin/util/log.js +24 -0
  28. package/bin/version.js +124 -0
  29. package/bin/watch.js +1 -35
  30. package/bin/watched.js +39 -0
  31. package/lib/bind/KubernetesApiAccessor.js +2 -2
  32. package/lib/bind/bindingManager.js +1 -1
  33. package/lib/bind/bindingUtil.js +0 -9
  34. package/lib/bind/cfKeyProvider.js +10 -72
  35. package/lib/bind/index.js +114 -0
  36. package/lib/bind/kubernetesCredentialsProvider.js +2 -2
  37. package/lib/bind/userCdsrcJsonStorageProvider.js +7 -44
  38. package/lib/build/buildTaskEngine.js +355 -0
  39. package/lib/build/buildTaskFactory.js +284 -0
  40. package/lib/build/buildTaskHandler.js +240 -0
  41. package/lib/build/buildTaskProvider.js +22 -0
  42. package/lib/build/buildTaskProviderFactory.js +182 -0
  43. package/lib/build/constants.js +56 -0
  44. package/lib/build/index.js +21 -0
  45. package/lib/build/provider/buildTaskHandlerEdmx.js +83 -0
  46. package/lib/build/provider/buildTaskHandlerFeatureToggles.js +132 -0
  47. package/lib/build/provider/buildTaskHandlerInternal.js +228 -0
  48. package/lib/build/provider/buildTaskProviderInternal.js +370 -0
  49. package/lib/build/provider/fiori/index.js +167 -0
  50. package/lib/build/provider/hana/2migration.js +179 -0
  51. package/lib/build/provider/hana/index.js +522 -0
  52. package/lib/build/provider/hana/migrationtable.js +472 -0
  53. package/lib/build/provider/hana/template/.hdiconfig-all +163 -0
  54. package/lib/build/provider/hana/template/.hdiconfig-cloud +137 -0
  55. package/lib/build/provider/hana/template/.hdinamespace +4 -0
  56. package/lib/build/provider/hana/template/package.json +12 -0
  57. package/lib/build/provider/hana/template/undeploy.json +5 -0
  58. package/lib/build/provider/java/index.js +93 -0
  59. package/lib/build/provider/java-cf/index.js +1 -0
  60. package/lib/build/provider/mtx/index.js +37 -0
  61. package/lib/build/provider/mtx/resourcesTarBuilder.js +94 -0
  62. package/lib/build/provider/mtx-extension/index.js +131 -0
  63. package/lib/build/provider/mtx-sidecar/index.js +138 -0
  64. package/lib/build/provider/node-cf/index.js +1 -0
  65. package/lib/build/provider/nodejs/index.js +178 -0
  66. package/lib/build/util.js +263 -0
  67. package/lib/cds.js +9 -21
  68. package/lib/client/auth_manager.js +39 -16
  69. package/lib/client/helper/dependency_helper.js +7 -6
  70. package/lib/client/push.js +2 -1
  71. package/lib/client/settings_manager.js +10 -39
  72. package/lib/deploy/to-hana/hana.js +273 -0
  73. package/lib/deploy/to-hana/hdiDeployUtil.js +68 -0
  74. package/lib/deploy/to-hana/mtaUtil.js +171 -0
  75. package/lib/import/asyncapi/importAsyncAPI.js +3 -2
  76. package/lib/import/asyncapi/index.js +5 -2
  77. package/lib/import/asyncapi/parserContext.js +67 -26
  78. package/lib/import/asyncapi/utils.js +34 -3
  79. package/lib/import/common.js +40 -30
  80. package/lib/import/importapi.js +36 -35
  81. package/lib/index.js +12 -17
  82. package/lib/init/constants.js +36 -71
  83. package/lib/init/index.js +18 -52
  84. package/lib/init/template/_merging/registry-mta.js +21 -3
  85. package/lib/init/template/approuter/files/mta.yaml.hbs +29 -29
  86. package/lib/init/template/approuter/files/values.yaml.hbs +5 -5
  87. package/lib/init/template/approuter/files/xs-app.json.hbs +8 -2
  88. package/lib/init/template/approuter/index.js +7 -8
  89. package/lib/init/template/auditlog/files/mta.yaml.hbs +5 -5
  90. package/lib/init/template/auditlog/files/package.json.hbs +13 -13
  91. package/lib/init/template/auditlog/index.js +3 -3
  92. package/lib/init/template/cf-manifest/files/manifest.yml.hbs +22 -22
  93. package/lib/init/template/cf-manifest/files/services-manifest.yml.hbs +3 -3
  94. package/lib/init/template/connectivity/files/mta.yaml.hbs +14 -0
  95. package/lib/init/template/connectivity/files/package.json.hbs +17 -0
  96. package/lib/init/template/connectivity/index.js +21 -4
  97. package/lib/init/template/data/index.js +5 -1
  98. package/lib/init/template/destination/files/mta.yaml.hbs +14 -0
  99. package/lib/init/template/destination/files/package.json.hbs +17 -0
  100. package/lib/init/template/{destinations → destination}/index.js +19 -13
  101. package/lib/init/template/enterprise-messaging/files/event-mesh.json.hbs +3 -3
  102. package/lib/init/template/enterprise-messaging/files/mta.yaml.hbs +5 -5
  103. package/lib/init/template/enterprise-messaging/files/package.json.hbs +9 -9
  104. package/lib/init/template/enterprise-messaging/files/xs-security.json.hbs +19 -0
  105. package/lib/init/template/enterprise-messaging/index.js +27 -6
  106. package/lib/init/template/enterprise-messaging-shared/files/event-mesh.json.hbs +3 -3
  107. package/lib/init/template/enterprise-messaging-shared/files/mta.yaml.hbs +5 -5
  108. package/lib/init/template/enterprise-messaging-shared/files/package.json.hbs +9 -9
  109. package/lib/init/template/enterprise-messaging-shared/index.js +4 -5
  110. package/lib/init/template/extensibility/files/package.json.hbs +10 -10
  111. package/lib/init/template/extensibility/index.js +8 -9
  112. package/lib/init/template/file-based-messaging/files/package.json.hbs +9 -9
  113. package/lib/init/template/file-based-messaging/index.js +3 -4
  114. package/lib/init/template/hana/files/db/package.json +1 -1
  115. package/lib/init/template/hana/files/mta.yaml.hbs +21 -21
  116. package/lib/init/template/hana/files/package.json.hbs +16 -22
  117. package/lib/init/template/hana/files/values.yaml.hbs +1 -1
  118. package/lib/init/template/hana/index.js +5 -15
  119. package/lib/init/template/helm/files/Chart.yaml.hbs +4 -4
  120. package/lib/init/template/helm/files/values.yaml.hbs +6 -6
  121. package/lib/init/template/helm/index.js +5 -10
  122. package/lib/init/template/helm/subcharts/content-deployment/Chart.yaml +2 -0
  123. package/lib/init/template/helm/subcharts/content-deployment/templates/_helpers.tpl +37 -31
  124. package/lib/init/template/helm/subcharts/content-deployment/templates/job.yaml +13 -14
  125. package/lib/init/template/helm/subcharts/content-deployment/templates/secret.yaml +2 -2
  126. package/lib/init/template/helm/subcharts/content-deployment/templates/service-account.yaml +1 -1
  127. package/lib/init/template/helm/subcharts/content-deployment/templates/service-binding.yaml +3 -3
  128. package/lib/init/template/helm/subcharts/content-deployment/values.md +116 -116
  129. package/lib/init/template/helm/subcharts/service-instance/Chart.yaml +2 -0
  130. package/lib/init/template/helm/subcharts/service-instance/templates/_helpers.tpl +9 -9
  131. package/lib/init/template/helm/subcharts/service-instance/templates/serviceinstance.yaml +2 -2
  132. package/lib/init/template/helm/subcharts/service-instance/values.md +15 -15
  133. package/lib/init/template/helm/subcharts/web-application/Chart.yaml +2 -0
  134. package/lib/init/template/helm/subcharts/web-application/templates/NOTES.txt +15 -0
  135. package/lib/init/template/helm/subcharts/web-application/templates/_helpers.tpl +23 -23
  136. package/lib/init/template/helm/subcharts/web-application/templates/api-rule.yaml +4 -4
  137. package/lib/init/template/helm/subcharts/web-application/templates/deployment.yaml +17 -17
  138. package/lib/init/template/helm/subcharts/web-application/templates/network-policy.yaml +24 -3
  139. package/lib/init/template/helm/subcharts/web-application/templates/pod-disruption-budget.yaml +3 -3
  140. package/lib/init/template/helm/subcharts/web-application/templates/secret.yaml +2 -2
  141. package/lib/init/template/helm/subcharts/web-application/templates/service-account.yaml +1 -1
  142. package/lib/init/template/helm/subcharts/web-application/templates/service-binding.yaml +3 -3
  143. package/lib/init/template/helm/subcharts/web-application/templates/service.yaml +3 -3
  144. package/lib/init/template/helm/subcharts/web-application/values.md +141 -123
  145. package/lib/init/template/helm/subcharts/web-application/values.schema.json +7 -0
  146. package/lib/init/template/helm/subcharts/web-application/values.yaml +1 -0
  147. package/lib/init/template/html5-repo/index.js +4 -5
  148. package/lib/init/template/java/index.js +5 -5
  149. package/lib/init/template/kibana-logging/files/mta.yaml.hbs +5 -5
  150. package/lib/init/template/kibana-logging/files/package.json.hbs +9 -9
  151. package/lib/init/template/kibana-logging/index.js +3 -4
  152. package/lib/init/template/lint/index.js +3 -3
  153. package/lib/init/template/mta/files/mta.yaml.hbs +14 -14
  154. package/lib/init/template/mta/files/package.json +5 -0
  155. package/lib/init/template/mta/index.js +12 -13
  156. package/lib/init/template/mtx/index.js +2 -2
  157. package/lib/init/template/multitenancy/files/mta.yaml.hbs +29 -27
  158. package/lib/init/template/multitenancy/files/package.json.hbs +17 -14
  159. package/lib/init/template/multitenancy/files/package.sidecar.json.hbs +7 -7
  160. package/lib/init/template/multitenancy/files/values.yaml.hbs +19 -19
  161. package/lib/init/template/multitenancy/index.js +14 -16
  162. package/lib/init/template/nodejs/files/package.json.hbs +1 -1
  163. package/lib/init/template/nodejs/index.js +5 -8
  164. package/lib/init/template/redis-messaging/files/mta.yaml.hbs +5 -5
  165. package/lib/init/template/redis-messaging/files/package.json.hbs +9 -9
  166. package/lib/init/template/redis-messaging/index.js +4 -5
  167. package/lib/init/template/sample/files/app/_i18n/i18n.properties +43 -0
  168. package/lib/init/template/sample/files/app/_i18n/i18n_de.properties +14 -0
  169. package/lib/init/template/sample/files/app/admin-books/fiori-service.cds +114 -0
  170. package/lib/init/template/sample/files/app/admin-books/webapp/Component.js +8 -0
  171. package/lib/init/template/sample/files/app/admin-books/webapp/i18n/i18n.properties +11 -0
  172. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +129 -0
  173. package/lib/init/template/sample/files/app/appconfig/fioriSandboxConfig.json +57 -0
  174. package/lib/init/template/sample/files/app/common.cds +263 -0
  175. package/lib/init/template/sample/files/app/index.html +30 -0
  176. package/lib/init/template/sample/files/app/services.cds +5 -0
  177. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Authors.csv +5 -0
  178. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books.csv +6 -0
  179. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Books_texts.csv +5 -0
  180. package/lib/init/template/sample/files/db/data/sap.capire.bookshop-Genres.csv +16 -0
  181. package/lib/init/template/sample/files/db/schema.cds +31 -0
  182. package/lib/init/template/sample/files/nodejs/admin-service.js +12 -0
  183. package/lib/init/template/sample/files/nodejs/cat-service.js +26 -0
  184. package/lib/init/template/sample/files/srv/admin-service.cds +5 -0
  185. package/lib/init/template/sample/files/srv/cat-service.cds +16 -0
  186. package/lib/init/template/sample/index.js +24 -0
  187. package/lib/init/template/sample-tiny/index.js +39 -0
  188. package/lib/init/template/samples/index.js +5 -56
  189. package/lib/init/template/sqlite/files/package.json.hbs +13 -13
  190. package/lib/init/template/sqlite/index.js +2 -2
  191. package/lib/init/template/templateBase.js +24 -1
  192. package/lib/init/template/toggles/files/package.json.hbs +10 -10
  193. package/lib/init/template/toggles/index.js +3 -3
  194. package/lib/init/template/typer/files/gitignore +1 -0
  195. package/lib/init/template/typer/files/package.json +8 -0
  196. package/lib/init/template/typer/files/xsconfig.json +9 -0
  197. package/lib/init/template/typer/index.js +36 -0
  198. package/lib/init/template/xsuaa/files/mta.yaml.hbs +12 -12
  199. package/lib/init/template/xsuaa/files/package.json.hbs +13 -13
  200. package/lib/init/template/xsuaa/files/values.yaml.hbs +8 -8
  201. package/lib/init/template/xsuaa/index.js +8 -19
  202. package/lib/init/util/merge.js +73 -59
  203. package/lib/init/util/mvn.js +21 -17
  204. package/lib/init/util/projectReader.js +49 -87
  205. package/lib/init/util/xml.js +14 -23
  206. package/lib/util/cfUtil.js +366 -0
  207. package/lib/util/command.js +3 -3
  208. package/lib/util/gitUtil.js +55 -0
  209. package/lib/util/version.js +27 -0
  210. package/npm-shrinkwrap.json +337 -275
  211. package/package.json +6 -6
  212. package/CHANGELOG.md +0 -1460
  213. package/bin/build/all.js +0 -88
  214. package/bin/build/index.js +0 -82
  215. package/lib/compile/index.js +0 -14
  216. /package/lib/init/template/{samples → sample-tiny}/files/nodejs/db/data/my.bookshop-Books.csv +0 -0
  217. /package/lib/init/template/{samples → sample-tiny}/files/nodejs/db/data-model.cds +0 -0
  218. /package/lib/init/template/{samples → sample-tiny}/files/nodejs/srv/cat-service.cds.hbs +0 -0
@@ -31,11 +31,11 @@
31
31
 
32
32
  **Description:** For more information, see https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#global-chart-values
33
33
 
34
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
35
- | ------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------- |
36
- | - [imagePullSecret](#global_imagePullSecret ) | No | object | No | - | Image Pull Secret configuration |
37
- | - [image](#global_image ) | No | object | No | - | Image configuration |
38
- | - [additionalProperties](#global_additionalProperties ) | No | object | No | - | - |
34
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
35
+ | --------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------- |
36
+ | - [imagePullSecret](#global_imagePullSecret ) | No | object | No | - | Image Pull Secret configuration |
37
+ | - [image](#global_image ) | No | object | No | - | Image configuration |
38
+ | - [](#global_additionalProperties ) | No | object | No | - | - |
39
39
 
40
40
  ### <a name="global_imagePullSecret"></a>1.1. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `imagePullSecret`
41
41
 
@@ -48,11 +48,11 @@
48
48
 
49
49
  **Description:** For more information, see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
50
50
 
51
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
52
- | ----------------------------------------------------------------------- | ------- | ------ | ---------- | ------------------------------- | ----------------- |
53
- | - [name](#global_imagePullSecret_name ) | No | string | No | In #/definitions/KubernetesName | Secret name |
54
- | - [dockerconfigjson](#global_imagePullSecret_dockerconfigjson ) | No | string | No | - | Secret content |
55
- | - [additionalProperties](#global_imagePullSecret_additionalProperties ) | No | object | No | - | - |
51
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
52
+ | --------------------------------------------------------------- | ------- | ------ | ---------- | ------------------------------- | ----------------- |
53
+ | - [name](#global_imagePullSecret_name ) | No | string | No | In #/definitions/KubernetesName | Secret name |
54
+ | - [dockerconfigjson](#global_imagePullSecret_dockerconfigjson ) | No | string | No | - | Secret content |
55
+ | - [](#global_imagePullSecret_additionalProperties ) | No | object | No | - | - |
56
56
 
57
57
  #### <a name="global_imagePullSecret_name"></a>1.1.1. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `name`
58
58
 
@@ -90,11 +90,11 @@
90
90
 
91
91
  **Description:** Either name or repository is required.
92
92
 
93
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
94
- | ------------------------------------------------------------- | ------- | ------ | ---------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
95
- | - [tag](#global_image_tag ) | No | string | No | In #/definitions/ImageTag | Image tag without the name (everything after the \`:\` sign, potentially including the \`@sha256\` section at the end). |
96
- | - [registry](#global_image_registry ) | No | string | No | In #/definitions/ImageRegistry | Image registry e.g. docker.io |
97
- | - [additionalProperties](#global_image_additionalProperties ) | No | object | No | - | - |
93
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
94
+ | ----------------------------------------- | ------- | ------ | ---------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
95
+ | - [tag](#global_image_tag ) | No | string | No | In #/definitions/ImageTag | Image tag without the name (everything after the \`:\` sign, potentially including the \`@sha256\` section at the end). |
96
+ | - [registry](#global_image_registry ) | No | string | No | In #/definitions/ImageRegistry | Image registry e.g. docker.io |
97
+ | - [](#global_image_additionalProperties ) | No | object | No | - | - |
98
98
 
99
99
  #### <a name="global_image_tag"></a>1.2.1. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `tag`
100
100
 
@@ -349,7 +349,7 @@
349
349
  | [item 0](#env_anyOf_i0) |
350
350
  | [item 1](#env_anyOf_i1) |
351
351
 
352
- ### <a name="env_anyOf_i0"></a>8.1. Property `None`
352
+ ### <a name="env_anyOf_i0"></a>8.1. Property `item 0`
353
353
 
354
354
  | | |
355
355
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -371,12 +371,12 @@ must respect the following conditions
371
371
  | **Type** | `combining` |
372
372
  | **Additional properties** | [![Any type: allowed](https://img.shields.io/badge/Any%20type-allowed-green)](# "Additional Properties of any type are allowed.") |
373
373
 
374
- | Any of(Option) |
375
- | ----------------------------------------- |
376
- | [item 0](#env_anyOf_i0_pattern1_anyOf_i0) |
377
- | [item 1](#env_anyOf_i0_pattern1_anyOf_i1) |
374
+ | Any of(Option) |
375
+ | -------------------------------------------- |
376
+ | [item 0](#env_anyOf_i0_pattern1_pattern2_i0) |
377
+ | [item 1](#env_anyOf_i0_pattern1_pattern2_i1) |
378
378
 
379
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i0"></a>8.1.1.1. Property `None`
379
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i0"></a>8.1.1.1. Property `item 0`
380
380
 
381
381
  | | |
382
382
  | -------- | ------------------- |
@@ -384,7 +384,7 @@ must respect the following conditions
384
384
 
385
385
  **Description:** Plain value of an environment variable.
386
386
 
387
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1"></a>8.1.1.2. Property `None`
387
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1"></a>8.1.1.2. Property `item 1`
388
388
 
389
389
  | | |
390
390
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -393,14 +393,14 @@ must respect the following conditions
393
393
 
394
394
  **Description:** `valueFrom` configuration for the environment variable https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/
395
395
 
396
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
397
- | ----------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------ |
398
- | - [configMapKeyRef](#env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef ) | No | object | No | - | Selects a key of a ConfigMap. |
399
- | - [secretKeyRef](#env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef ) | No | object | No | - | Selects a key of a Secret. |
400
- | - [resourceFieldRef](#env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef ) | No | object | No | - | Selects a resource of the container. |
401
- | - [fieldRef](#env_anyOf_i0_pattern1_anyOf_i1_fieldRef ) | No | object | No | - | Selects a field of the pod. |
396
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
397
+ | -------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------ |
398
+ | - [configMapKeyRef](#env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef ) | No | object | No | - | Selects a key of a ConfigMap. |
399
+ | - [secretKeyRef](#env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef ) | No | object | No | - | Selects a key of a Secret. |
400
+ | - [resourceFieldRef](#env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef ) | No | object | No | - | Selects a resource of the container. |
401
+ | - [fieldRef](#env_anyOf_i0_pattern1_pattern2_i1_fieldRef ) | No | object | No | - | Selects a field of the pod. |
402
402
 
403
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef"></a>8.1.1.2.1. Property `configMapKeyRef`
403
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef"></a>8.1.1.2.1. Property `configMapKeyRef`
404
404
 
405
405
  | | |
406
406
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -409,12 +409,12 @@ must respect the following conditions
409
409
 
410
410
  **Description:** Selects a key of a ConfigMap.
411
411
 
412
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
413
- | --------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------ |
414
- | - [name](#env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef_name ) | No | string | No | - | Name of a ConfigMap. |
415
- | - [key](#env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef_key ) | No | string | No | - | Key in that ConfigMap, which value will be used. |
412
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
413
+ | ------------------------------------------------------------------ | ------- | ------ | ---------- | ---------- | ------------------------------------------------ |
414
+ | - [name](#env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_name ) | No | string | No | - | Name of a ConfigMap. |
415
+ | - [key](#env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_key ) | No | string | No | - | Key in that ConfigMap, which value will be used. |
416
416
 
417
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef_name"></a>8.1.1.2.1.1. Property `name`
417
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_name"></a>8.1.1.2.1.1. Property `name`
418
418
 
419
419
  | | |
420
420
  | -------- | -------- |
@@ -422,7 +422,7 @@ must respect the following conditions
422
422
 
423
423
  **Description:** Name of a ConfigMap.
424
424
 
425
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_configMapKeyRef_key"></a>8.1.1.2.1.2. Property `key`
425
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_key"></a>8.1.1.2.1.2. Property `key`
426
426
 
427
427
  | | |
428
428
  | -------- | -------- |
@@ -430,7 +430,7 @@ must respect the following conditions
430
430
 
431
431
  **Description:** Key in that ConfigMap, which value will be used.
432
432
 
433
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef"></a>8.1.1.2.2. Property `secretKeyRef`
433
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef"></a>8.1.1.2.2. Property `secretKeyRef`
434
434
 
435
435
  | | |
436
436
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -439,12 +439,12 @@ must respect the following conditions
439
439
 
440
440
  **Description:** Selects a key of a Secret.
441
441
 
442
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
443
- | ------------------------------------------------------------ | ------- | ------ | ---------- | ---------- | --------------------------------------------- |
444
- | - [name](#env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef_name ) | No | string | No | - | Name of a Secret. |
445
- | - [key](#env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef_key ) | No | string | No | - | Key in that Secret, which value will be used. |
442
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
443
+ | --------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | --------------------------------------------- |
444
+ | - [name](#env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_name ) | No | string | No | - | Name of a Secret. |
445
+ | - [key](#env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_key ) | No | string | No | - | Key in that Secret, which value will be used. |
446
446
 
447
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef_name"></a>8.1.1.2.2.1. Property `name`
447
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_name"></a>8.1.1.2.2.1. Property `name`
448
448
 
449
449
  | | |
450
450
  | -------- | -------- |
@@ -452,7 +452,7 @@ must respect the following conditions
452
452
 
453
453
  **Description:** Name of a Secret.
454
454
 
455
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_secretKeyRef_key"></a>8.1.1.2.2.2. Property `key`
455
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_key"></a>8.1.1.2.2.2. Property `key`
456
456
 
457
457
  | | |
458
458
  | -------- | -------- |
@@ -460,7 +460,7 @@ must respect the following conditions
460
460
 
461
461
  **Description:** Key in that Secret, which value will be used.
462
462
 
463
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef"></a>8.1.1.2.3. Property `resourceFieldRef`
463
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef"></a>8.1.1.2.3. Property `resourceFieldRef`
464
464
 
465
465
  | | |
466
466
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -469,12 +469,12 @@ must respect the following conditions
469
469
 
470
470
  **Description:** Selects a resource of the container.
471
471
 
472
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
473
- | ---------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
474
- | - [containerName](#env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef_containerName ) | No | string | No | - | Name of a Container. |
475
- | - [resource](#env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef_resource ) | No | string | No | - | Only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. |
472
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
473
+ | ------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
474
+ | - [containerName](#env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_containerName ) | No | string | No | - | Name of a Container. |
475
+ | - [resource](#env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_resource ) | No | string | No | - | Only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. |
476
476
 
477
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef_containerName"></a>8.1.1.2.3.1. Property `containerName`
477
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_containerName"></a>8.1.1.2.3.1. Property `containerName`
478
478
 
479
479
  | | |
480
480
  | -------- | -------- |
@@ -482,7 +482,7 @@ must respect the following conditions
482
482
 
483
483
  **Description:** Name of a Container.
484
484
 
485
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_resourceFieldRef_resource"></a>8.1.1.2.3.2. Property `resource`
485
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_resource"></a>8.1.1.2.3.2. Property `resource`
486
486
 
487
487
  | | |
488
488
  | -------- | -------- |
@@ -490,7 +490,7 @@ must respect the following conditions
490
490
 
491
491
  **Description:** Only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
492
492
 
493
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_fieldRef"></a>8.1.1.2.4. Property `fieldRef`
493
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_fieldRef"></a>8.1.1.2.4. Property `fieldRef`
494
494
 
495
495
  | | |
496
496
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -499,11 +499,11 @@ must respect the following conditions
499
499
 
500
500
  **Description:** Selects a field of the pod.
501
501
 
502
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
503
- | ------------------------------------------------------------------ | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
504
- | - [fieldPath](#env_anyOf_i0_pattern1_anyOf_i1_fieldRef_fieldPath ) | No | string | No | - | Supports metadata.name, metadata.namespace, \`metadata.labels['<KEY>']\`, \`metadata.annotations['<KEY>']\`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. |
502
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
503
+ | --------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
504
+ | - [fieldPath](#env_anyOf_i0_pattern1_pattern2_i1_fieldRef_fieldPath ) | No | string | No | - | Supports metadata.name, metadata.namespace, \`metadata.labels['<KEY>']\`, \`metadata.annotations['<KEY>']\`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. |
505
505
 
506
- ##### <a name="env_anyOf_i0_pattern1_anyOf_i1_fieldRef_fieldPath"></a>8.1.1.2.4.1. Property `fieldPath`
506
+ ##### <a name="env_anyOf_i0_pattern1_pattern2_i1_fieldRef_fieldPath"></a>8.1.1.2.4.1. Property `fieldPath`
507
507
 
508
508
  | | |
509
509
  | -------- | -------- |
@@ -511,7 +511,7 @@ must respect the following conditions
511
511
 
512
512
  **Description:** Supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
513
513
 
514
- ### <a name="env_anyOf_i1"></a>8.2. Property `None`
514
+ ### <a name="env_anyOf_i1"></a>8.2. Property `item 1`
515
515
 
516
516
  | | |
517
517
  | -------- | ----------------- |
@@ -521,7 +521,7 @@ must respect the following conditions
521
521
  | ----------------------------------- | ----------- |
522
522
  | [item 1 items](#env_anyOf_i1_items) | - |
523
523
 
524
- #### <a name="autogenerated_heading_2"></a>8.2.1. items
524
+ #### <a name="autogenerated_heading_2"></a>8.2.1. item 1 items
525
525
 
526
526
  | | |
527
527
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -677,7 +677,7 @@ must respect the following conditions
677
677
  | --------------------------------------- | ----------- |
678
678
  | [KubernetesName](#envSecretNames_items) | - |
679
679
 
680
- ### <a name="autogenerated_heading_3"></a>9.1. items
680
+ ### <a name="autogenerated_heading_3"></a>9.1. KubernetesName
681
681
 
682
682
  | | |
683
683
  | ---------------------- | ------------------------------------ |
@@ -697,7 +697,7 @@ must respect the following conditions
697
697
  | ------------------------------- | ----------- |
698
698
  | [envFrom items](#envFrom_items) | - |
699
699
 
700
- ### <a name="autogenerated_heading_4"></a>10.1. items
700
+ ### <a name="autogenerated_heading_4"></a>10.1. envFrom items
701
701
 
702
702
  | | |
703
703
  | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
@@ -709,7 +709,7 @@ must respect the following conditions
709
709
  | [item 0](#envFrom_items_oneOf_i0) |
710
710
  | [item 1](#envFrom_items_oneOf_i1) |
711
711
 
712
- #### <a name="envFrom_items_oneOf_i0"></a>10.1.1. Property `None`
712
+ #### <a name="envFrom_items_oneOf_i0"></a>10.1.1. Property `item 0`
713
713
 
714
714
  | | |
715
715
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -741,7 +741,7 @@ must respect the following conditions
741
741
 
742
742
  **Description:** Name of a ConfigMap.
743
743
 
744
- #### <a name="envFrom_items_oneOf_i1"></a>10.1.2. Property `None`
744
+ #### <a name="envFrom_items_oneOf_i1"></a>10.1.2. Property `item 1`
745
745
 
746
746
  | | |
747
747
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -811,23 +811,23 @@ must respect the following conditions
811
811
  | **Type** | `combining` |
812
812
  | **Additional properties** | [![Any type: allowed](https://img.shields.io/badge/Any%20type-allowed-green)](# "Additional Properties of any type are allowed.") |
813
813
 
814
- | One of(Option) |
815
- | ------------------------------------- |
816
- | [item 0](#bindings_pattern1_oneOf_i0) |
817
- | [item 1](#bindings_pattern1_oneOf_i1) |
814
+ | One of(Option) |
815
+ | ---------------------------------------- |
816
+ | [item 0](#bindings_pattern1_pattern1_i0) |
817
+ | [item 1](#bindings_pattern1_pattern1_i1) |
818
818
 
819
- #### <a name="bindings_pattern1_oneOf_i0"></a>12.1.1. Property `None`
819
+ #### <a name="bindings_pattern1_pattern1_i0"></a>12.1.1. Property `item 0`
820
820
 
821
821
  | | |
822
822
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
823
823
  | **Type** | `object` |
824
824
  | **Additional properties** | [![Not allowed](https://img.shields.io/badge/Not%20allowed-red)](# "Additional Properties not allowed.") |
825
825
 
826
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
827
- | ------------------------------------------------------- | ------- | ------ | ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
828
- | + [fromSecret](#bindings_pattern1_oneOf_i0_fromSecret ) | No | string | No | - | Name of a Kubernetes Secret, with the binding content, compliant to the SAP Kubernetes Service Binding spec https://github.tools.sap/Kubernetes-Service-Bindings/doc/ |
826
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
827
+ | ---------------------------------------------------------- | ------- | ------ | ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
828
+ | + [fromSecret](#bindings_pattern1_pattern1_i0_fromSecret ) | No | string | No | - | Name of a Kubernetes Secret, with the binding content, compliant to the SAP Kubernetes Service Binding spec https://github.tools.sap/Kubernetes-Service-Bindings/doc/ |
829
829
 
830
- ##### <a name="bindings_pattern1_oneOf_i0_fromSecret"></a>12.1.1.1. Property `fromSecret`
830
+ ##### <a name="bindings_pattern1_pattern1_i0_fromSecret"></a>12.1.1.1. Property `fromSecret`
831
831
 
832
832
  | | |
833
833
  | -------- | -------- |
@@ -835,24 +835,24 @@ must respect the following conditions
835
835
 
836
836
  **Description:** Name of a Kubernetes Secret, with the binding content, compliant to the SAP Kubernetes Service Binding spec https://github.tools.sap/Kubernetes-Service-Bindings/doc/
837
837
 
838
- #### <a name="bindings_pattern1_oneOf_i1"></a>12.1.2. Property `None`
838
+ #### <a name="bindings_pattern1_pattern1_i1"></a>12.1.2. Property `item 1`
839
839
 
840
840
  | | |
841
841
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
842
842
  | **Type** | `object` |
843
843
  | **Additional properties** | [![Not allowed](https://img.shields.io/badge/Not%20allowed-red)](# "Additional Properties not allowed.") |
844
844
 
845
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
846
- | ------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
847
- | - [serviceInstanceName](#bindings_pattern1_oneOf_i1_serviceInstanceName ) | No | string | No | - | Name of a BTP Operator Service Instance, created by the \`service-instance\` Helm chart. Can't be used with the \`serviceInstanceFullname\` option. |
848
- | - [serviceInstanceFullname](#bindings_pattern1_oneOf_i1_serviceInstanceFullname ) | No | string | No | - | Full name of a BTP Operator Service Instance. Can't be used with the \`serviceInstanceName\` option. |
849
- | - [externalName](#bindings_pattern1_oneOf_i1_externalName ) | No | string | No | - | The name for the service binding in SAP BTP |
850
- | - [secretName](#bindings_pattern1_oneOf_i1_secretName ) | No | string | No | - | The name of the secret where the credentials are stored. |
851
- | - [parameters](#bindings_pattern1_oneOf_i1_parameters ) | No | object | No | - | Some services support the provisioning of additional configuration parameters during the bind request. For the list of supported parameters, check the documentation of the particular service offering. |
852
- | - [parametersFrom](#bindings_pattern1_oneOf_i1_parametersFrom ) | No | array | No | - | List of sources to populate parameters. |
853
- | - [credentialsRotationPolicy](#bindings_pattern1_oneOf_i1_credentialsRotationPolicy ) | No | object | No | - | Holds automatic credentials rotation configuration. For more details, see https://github.com/SAP/sap-btp-service-operator#spec-1 |
845
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
846
+ | ---------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
847
+ | - [serviceInstanceName](#bindings_pattern1_pattern1_i1_serviceInstanceName ) | No | string | No | - | Name of a BTP Operator Service Instance, created by the \`service-instance\` Helm chart. Can't be used with the \`serviceInstanceFullname\` option. |
848
+ | - [serviceInstanceFullname](#bindings_pattern1_pattern1_i1_serviceInstanceFullname ) | No | string | No | - | Full name of a BTP Operator Service Instance. Can't be used with the \`serviceInstanceName\` option. |
849
+ | - [externalName](#bindings_pattern1_pattern1_i1_externalName ) | No | string | No | - | The name for the service binding in SAP BTP |
850
+ | - [secretName](#bindings_pattern1_pattern1_i1_secretName ) | No | string | No | - | The name of the secret where the credentials are stored. |
851
+ | - [parameters](#bindings_pattern1_pattern1_i1_parameters ) | No | object | No | - | Some services support the provisioning of additional configuration parameters during the bind request. For the list of supported parameters, check the documentation of the particular service offering. |
852
+ | - [parametersFrom](#bindings_pattern1_pattern1_i1_parametersFrom ) | No | array | No | - | List of sources to populate parameters. |
853
+ | - [credentialsRotationPolicy](#bindings_pattern1_pattern1_i1_credentialsRotationPolicy ) | No | object | No | - | Holds automatic credentials rotation configuration. For more details, see https://github.com/SAP/sap-btp-service-operator#spec-1 |
854
854
 
855
- ##### <a name="bindings_pattern1_oneOf_i1_serviceInstanceName"></a>12.1.2.1. Property `serviceInstanceName`
855
+ ##### <a name="bindings_pattern1_pattern1_i1_serviceInstanceName"></a>12.1.2.1. Property `serviceInstanceName`
856
856
 
857
857
  | | |
858
858
  | -------- | -------- |
@@ -860,7 +860,7 @@ must respect the following conditions
860
860
 
861
861
  **Description:** Name of a BTP Operator Service Instance, created by the `service-instance` Helm chart. Can't be used with the `serviceInstanceFullname` option.
862
862
 
863
- ##### <a name="bindings_pattern1_oneOf_i1_serviceInstanceFullname"></a>12.1.2.2. Property `serviceInstanceFullname`
863
+ ##### <a name="bindings_pattern1_pattern1_i1_serviceInstanceFullname"></a>12.1.2.2. Property `serviceInstanceFullname`
864
864
 
865
865
  | | |
866
866
  | -------- | -------- |
@@ -868,7 +868,7 @@ must respect the following conditions
868
868
 
869
869
  **Description:** Full name of a BTP Operator Service Instance. Can't be used with the `serviceInstanceName` option.
870
870
 
871
- ##### <a name="bindings_pattern1_oneOf_i1_externalName"></a>12.1.2.3. Property `externalName`
871
+ ##### <a name="bindings_pattern1_pattern1_i1_externalName"></a>12.1.2.3. Property `externalName`
872
872
 
873
873
  | | |
874
874
  | -------- | -------- |
@@ -876,7 +876,7 @@ must respect the following conditions
876
876
 
877
877
  **Description:** The name for the service binding in SAP BTP
878
878
 
879
- ##### <a name="bindings_pattern1_oneOf_i1_secretName"></a>12.1.2.4. Property `secretName`
879
+ ##### <a name="bindings_pattern1_pattern1_i1_secretName"></a>12.1.2.4. Property `secretName`
880
880
 
881
881
  | | |
882
882
  | -------- | -------- |
@@ -884,7 +884,7 @@ must respect the following conditions
884
884
 
885
885
  **Description:** The name of the secret where the credentials are stored.
886
886
 
887
- ##### <a name="bindings_pattern1_oneOf_i1_parameters"></a>12.1.2.5. Property `parameters`
887
+ ##### <a name="bindings_pattern1_pattern1_i1_parameters"></a>12.1.2.5. Property `parameters`
888
888
 
889
889
  | | |
890
890
  | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
@@ -893,7 +893,7 @@ must respect the following conditions
893
893
 
894
894
  **Description:** Some services support the provisioning of additional configuration parameters during the bind request. For the list of supported parameters, check the documentation of the particular service offering.
895
895
 
896
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom"></a>12.1.2.6. Property `parametersFrom`
896
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom"></a>12.1.2.6. Property `parametersFrom`
897
897
 
898
898
  | | |
899
899
  | -------- | ------- |
@@ -901,23 +901,23 @@ must respect the following conditions
901
901
 
902
902
  **Description:** List of sources to populate parameters.
903
903
 
904
- | Each item of this array must be | Description |
905
- | ------------------------------------------------------------------------ | ----------- |
906
- | [parametersFrom items](#bindings_pattern1_oneOf_i1_parametersFrom_items) | - |
904
+ | Each item of this array must be | Description |
905
+ | --------------------------------------------------------------------------- | ----------- |
906
+ | [parametersFrom items](#bindings_pattern1_pattern1_i1_parametersFrom_items) | - |
907
907
 
908
- ##### <a name="autogenerated_heading_5"></a>12.1.2.6.1. items
908
+ ##### <a name="autogenerated_heading_5"></a>12.1.2.6.1. parametersFrom items
909
909
 
910
910
  | | |
911
911
  | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
912
912
  | **Type** | `combining` |
913
913
  | **Additional properties** | [![Any type: allowed](https://img.shields.io/badge/Any%20type-allowed-green)](# "Additional Properties of any type are allowed.") |
914
914
 
915
- | Any of(Option) |
916
- | ------------------------------------------------------------------- |
917
- | [item 0](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0) |
918
- | [item 1](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1) |
915
+ | Any of(Option) |
916
+ | ---------------------------------------------------------------------- |
917
+ | [item 0](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0) |
918
+ | [item 1](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1) |
919
919
 
920
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0"></a>12.1.2.6.1.1. Property `None`
920
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0"></a>12.1.2.6.1.1. Property `item 0`
921
921
 
922
922
  | | |
923
923
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -926,23 +926,23 @@ must respect the following conditions
926
926
 
927
927
  **Description:** Kubernetes Secret as a parameters source.
928
928
 
929
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
930
- | ----------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
931
- | - [secretKeyRef](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef ) | No | object | No | - | - |
929
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
930
+ | -------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
931
+ | - [secretKeyRef](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef ) | No | object | No | - | - |
932
932
 
933
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef"></a>12.1.2.6.1.1.1. Property `secretKeyRef`
933
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef"></a>12.1.2.6.1.1.1. Property `secretKeyRef`
934
934
 
935
935
  | | |
936
936
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
937
937
  | **Type** | `object` |
938
938
  | **Additional properties** | [![Not allowed](https://img.shields.io/badge/Not%20allowed-red)](# "Additional Properties not allowed.") |
939
939
 
940
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
941
- | -------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |
942
- | + [name](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef_name ) | No | string | No | - | Name of a Secret. |
943
- | + [key](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef_key ) | No | string | No | - | Key in that Secret, which contains a string that represents the json to include in the set of parameters to be sent to the broker. |
940
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
941
+ | ----------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |
942
+ | + [name](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef_name ) | No | string | No | - | Name of a Secret. |
943
+ | + [key](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef_key ) | No | string | No | - | Key in that Secret, which contains a string that represents the json to include in the set of parameters to be sent to the broker. |
944
944
 
945
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef_name"></a>12.1.2.6.1.1.1.1. Property `name`
945
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef_name"></a>12.1.2.6.1.1.1.1. Property `name`
946
946
 
947
947
  | | |
948
948
  | -------- | -------- |
@@ -950,7 +950,7 @@ must respect the following conditions
950
950
 
951
951
  **Description:** Name of a Secret.
952
952
 
953
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i0_secretKeyRef_key"></a>12.1.2.6.1.1.1.2. Property `key`
953
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef_key"></a>12.1.2.6.1.1.1.2. Property `key`
954
954
 
955
955
  | | |
956
956
  | -------- | -------- |
@@ -958,7 +958,7 @@ must respect the following conditions
958
958
 
959
959
  **Description:** Key in that Secret, which contains a string that represents the json to include in the set of parameters to be sent to the broker.
960
960
 
961
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1"></a>12.1.2.6.1.2. Property `None`
961
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1"></a>12.1.2.6.1.2. Property `item 1`
962
962
 
963
963
  | | |
964
964
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
@@ -967,23 +967,23 @@ must respect the following conditions
967
967
 
968
968
  **Description:** Kubernetes Config Map as a parameters source.
969
969
 
970
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
971
- | ----------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
972
- | - [configMapKeyRef](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef ) | No | object | No | - | - |
970
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
971
+ | -------------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
972
+ | - [configMapKeyRef](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef ) | No | object | No | - | - |
973
973
 
974
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef"></a>12.1.2.6.1.2.1. Property `configMapKeyRef`
974
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef"></a>12.1.2.6.1.2.1. Property `configMapKeyRef`
975
975
 
976
976
  | | |
977
977
  | ------------------------- | -------------------------------------------------------------------------------------------------------- |
978
978
  | **Type** | `object` |
979
979
  | **Additional properties** | [![Not allowed](https://img.shields.io/badge/Not%20allowed-red)](# "Additional Properties not allowed.") |
980
980
 
981
- | Property | Pattern | Type | Deprecated | Definition | Title/Description |
982
- | ----------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
983
- | + [name](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_name ) | No | string | No | - | Name of a Config Map |
984
- | + [key](#bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_key ) | No | string | No | - | Key in that Config Map, which contains a string that represents the json to include in the set of parameters to be sent to the broker. |
981
+ | Property | Pattern | Type | Deprecated | Definition | Title/Description |
982
+ | -------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
983
+ | + [name](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_name ) | No | string | No | - | Name of a Config Map |
984
+ | + [key](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_key ) | No | string | No | - | Key in that Config Map, which contains a string that represents the json to include in the set of parameters to be sent to the broker. |
985
985
 
986
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_name"></a>12.1.2.6.1.2.1.1. Property `name`
986
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_name"></a>12.1.2.6.1.2.1.1. Property `name`
987
987
 
988
988
  | | |
989
989
  | -------- | -------- |
@@ -991,7 +991,7 @@ must respect the following conditions
991
991
 
992
992
  **Description:** Name of a Config Map
993
993
 
994
- ##### <a name="bindings_pattern1_oneOf_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_key"></a>12.1.2.6.1.2.1.2. Property `key`
994
+ ##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef_key"></a>12.1.2.6.1.2.1.2. Property `key`
995
995
 
996
996
  | | |
997
997
  | -------- | -------- |
@@ -999,7 +999,7 @@ must respect the following conditions
999
999
 
1000
1000
  **Description:** Key in that Config Map, which contains a string that represents the json to include in the set of parameters to be sent to the broker.
1001
1001
 
1002
- ##### <a name="bindings_pattern1_oneOf_i1_credentialsRotationPolicy"></a>12.1.2.7. Property `credentialsRotationPolicy`
1002
+ ##### <a name="bindings_pattern1_pattern1_i1_credentialsRotationPolicy"></a>12.1.2.7. Property `credentialsRotationPolicy`
1003
1003
 
1004
1004
  | | |
1005
1005
  | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
@@ -3,3 +3,5 @@ name: service-instance
3
3
  description: A Helm chart for creating service instances on btp-service-operator
4
4
  type: application
5
5
  version: 0.1.0
6
+ sources:
7
+ - "https://github.tools.sap/unified-runtime/service-instance"
@@ -1,7 +1,7 @@
1
1
  {{/*
2
2
  Expand the name of the chart.
3
3
  */}}
4
- {{- define "service-instance.name" -}}
4
+ {{- define "service-instance.internal.name" -}}
5
5
  {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
6
6
  {{- end }}
7
7
 
@@ -10,7 +10,7 @@ Create a default fully qualified app name.
10
10
  We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
11
11
  If release name contains chart name it will be used as a full name.
12
12
  */}}
13
- {{- define "service-instance.fullname" -}}
13
+ {{- define "service-instance.internal.fullname" -}}
14
14
  {{- if .Values.fullnameOverride }}
15
15
  {{- if gt (len .Values.fullnameOverride) 63 }}
16
16
  {{- fail (printf "name exceeds 63 characters: '%s'" .Values.fullnameOverride) }}
@@ -18,7 +18,7 @@ If release name contains chart name it will be used as a full name.
18
18
  {{- .Values.fullnameOverride }}
19
19
  {{- else }}
20
20
  {{- $name := default .Chart.Name .Values.nameOverride }}
21
- {{- if not (hasPrefix .Release.Name $name)}}
21
+ {{- if not (eq .Release.Name $name)}}
22
22
  {{- $name = printf "%s-%s" .Release.Name $name }}
23
23
  {{- end }}
24
24
  {{- if gt (len $name) 63 }}
@@ -31,17 +31,17 @@ If release name contains chart name it will be used as a full name.
31
31
  {{/*
32
32
  Create chart name and version as used by the chart label.
33
33
  */}}
34
- {{- define "service-instance.chart" -}}
34
+ {{- define "service-instance.internal.chart" -}}
35
35
  {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
36
36
  {{- end }}
37
37
 
38
38
  {{/*
39
39
  Common labels
40
40
  */}}
41
- {{- define "service-instance.labels" -}}
41
+ {{- define "service-instance.internal.labels" -}}
42
42
  helm.sh/revision: {{ .Release.Revision | quote }}
43
- helm.sh/chart: {{ include "service-instance.chart" . }}
44
- {{ include "service-instance.selectorLabels" . }}
43
+ helm.sh/chart: {{ include "service-instance.internal.chart" . }}
44
+ {{ include "service-instance.internal.selectorLabels" . }}
45
45
  {{- if .Chart.AppVersion }}
46
46
  app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
47
47
  {{- end }}
@@ -50,9 +50,9 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
50
50
  {{/*
51
51
  Selector labels
52
52
  */}}
53
- {{- define "service-instance.selectorLabels" -}}
53
+ {{- define "service-instance.internal.selectorLabels" -}}
54
54
  app.kubernetes.io/managed-by: {{ .Release.Service }}
55
- app.kubernetes.io/name: {{ include "service-instance.name" . }}
55
+ app.kubernetes.io/name: {{ include "service-instance.internal.name" . }}
56
56
  app.kubernetes.io/instance: {{ .Release.Name }}
57
57
  {{- if .Values.global}}
58
58
  {{- if .Values.global.component }}