@sap/cds-dk 7.2.0 → 7.3.1
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.
- package/bin/activate.js +2 -2
- package/bin/add.js +1 -1
- package/bin/build.js +6 -3
- package/bin/compile/index.js +9 -5
- package/bin/env.js +0 -3
- package/bin/extend.js +29 -3
- package/bin/import.js +7 -3
- package/bin/init.js +31 -37
- package/bin/push.js +10 -6
- package/bin/repl.js +23 -43
- package/bin/watch.js +5 -9
- package/lib/bind/bindingResolver.js +2 -1
- package/lib/bind/index.js +1 -1
- package/lib/build/{buildTaskHandler.js → buildPlugin.js} +40 -27
- package/lib/build/buildTaskEngine.js +75 -74
- package/lib/build/buildTaskFactory.js +39 -32
- package/lib/build/buildTaskProvider.js +24 -19
- package/lib/build/buildTaskProviderFactory.js +125 -58
- package/lib/build/constants.js +6 -4
- package/lib/build/index.js +7 -3
- package/lib/build/plugins.js +35 -0
- package/lib/build/provider/{buildTaskHandlerEdmx.js → edmxBuildPlugin.js} +11 -7
- package/lib/build/provider/{buildTaskHandlerFeatureToggles.js → featureToggleBuildPlugin.js} +5 -5
- package/lib/build/provider/fiori/index.js +5 -6
- package/lib/build/provider/hana/index.js +54 -30
- package/lib/build/provider/{buildTaskHandlerInternal.js → internalBuildPlugin.js} +14 -10
- package/lib/build/provider/{buildTaskProviderInternal.js → internalBuildTaskProvider.js} +27 -28
- package/lib/build/provider/java/index.js +30 -24
- package/lib/build/provider/mtx/index.js +4 -4
- package/lib/build/provider/mtx/resourcesTarBuilder.js +8 -8
- package/lib/build/provider/mtx-extension/index.js +17 -9
- package/lib/build/provider/mtx-sidecar/index.js +17 -11
- package/lib/build/provider/nodejs/index.js +14 -13
- package/lib/build/util.js +5 -0
- package/lib/client/auth_manager.js +6 -12
- package/lib/client/base_command.js +1 -1
- package/lib/client/download_legacy.js +43 -0
- package/lib/client/params.js +6 -0
- package/lib/client/push.js +41 -1
- package/lib/client/settings_manager.js +28 -17
- package/lib/compile/openapi/csdl2openapi.js +1 -1
- package/lib/env/schema.js +36 -0
- package/lib/env/schemas/cds-rc.json +101 -0
- package/lib/import/common.js +23 -10
- package/lib/import/importapi.js +2 -2
- package/lib/import/message.js +3 -1
- package/lib/import/odata/v4parser.js +23 -7
- package/lib/index.js +11 -0
- package/lib/init/constants.js +5 -2
- package/lib/init/index.js +2 -3
- package/lib/init/template/_merging/registry-mta.js +33 -0
- package/lib/init/template/approuter/files/mta.yaml.hbs +1 -1
- package/lib/init/template/approuter/index.js +9 -9
- package/lib/init/template/connectivity/index.js +5 -4
- package/lib/init/template/destination/index.js +2 -5
- package/lib/init/template/helm/subcharts/content-deployment/Chart.yaml +4 -4
- package/lib/init/template/helm/subcharts/content-deployment/templates/_helpers.tpl +4 -2
- package/lib/init/template/helm/subcharts/content-deployment/templates/job.yaml +4 -3
- package/lib/init/template/helm/subcharts/content-deployment/values.schema.json +9 -83
- package/lib/init/template/helm/subcharts/content-deployment/values.yaml +54 -15
- package/lib/init/template/helm/subcharts/service-instance/Chart.yaml +4 -4
- package/lib/init/template/helm/subcharts/service-instance/templates/serviceinstance.yaml +1 -1
- package/lib/init/template/helm/subcharts/service-instance/values.schema.json +0 -17
- package/lib/init/template/helm/subcharts/service-instance/values.yaml +28 -0
- package/lib/init/template/helm/subcharts/web-application/Chart.yaml +5 -5
- package/lib/init/template/helm/subcharts/web-application/templates/_api.tpl +60 -0
- package/lib/init/template/helm/subcharts/web-application/templates/_helpers.tpl +34 -73
- package/lib/init/template/helm/subcharts/web-application/templates/api-rule.yaml +4 -4
- package/lib/init/template/helm/subcharts/web-application/templates/deployment.yaml +96 -17
- package/lib/init/template/helm/subcharts/web-application/templates/network-policy.yaml +19 -3
- package/lib/init/template/helm/subcharts/web-application/templates/pod-disruption-budget.yaml +3 -3
- package/lib/init/template/helm/subcharts/web-application/templates/rbac.yaml +26 -0
- package/lib/init/template/helm/subcharts/web-application/templates/secret.yaml +1 -1
- package/lib/init/template/helm/subcharts/web-application/templates/service-account.yaml +1 -1
- package/lib/init/template/helm/subcharts/web-application/templates/service-binding.yaml +1 -1
- package/lib/init/template/helm/subcharts/web-application/templates/service.yaml +21 -3
- package/lib/init/template/helm/subcharts/web-application/templates/virtual-service.yaml +36 -0
- package/lib/init/template/helm/subcharts/web-application/values.schema.json +535 -142
- package/lib/init/template/helm/subcharts/web-application/values.yaml +168 -44
- package/lib/init/template/html5-repo/index.js +27 -3
- package/lib/init/template/mta/index.js +9 -3
- package/lib/init/template/nodejs/files/.vscode/launch.json +0 -3
- package/lib/init/template/notifications/files/mta.yaml.hbs +17 -0
- package/lib/init/template/notifications/files/notificationtypes.json.hbs +16 -0
- package/lib/init/template/notifications/files/package.json.hbs +14 -0
- package/lib/init/template/notifications/index.js +52 -0
- package/lib/init/template/postgres/files/mta.yaml.hbs +27 -0
- package/lib/init/template/postgres/files/package.json.hbs +5 -0
- package/lib/init/template/postgres/index.js +52 -0
- package/lib/init/util/projectReader.js +0 -1
- package/lib/util/pruneAxiosErrors.js +25 -8
- package/lib/util/term.js +1 -2
- package/lib/watch/livereload-server.js +38 -2
- package/lib/watch/node-watch.js +3 -2
- package/npm-shrinkwrap.json +334 -335
- package/package.json +2 -2
- package/lib/init/template/helm/subcharts/content-deployment/templating.md +0 -37
- package/lib/init/template/helm/subcharts/content-deployment/values-lint.yaml +0 -5
- package/lib/init/template/helm/subcharts/content-deployment/values.md +0 -1011
- package/lib/init/template/helm/subcharts/service-instance/templating.md +0 -18
- package/lib/init/template/helm/subcharts/service-instance/values-lint.yaml +0 -2
- package/lib/init/template/helm/subcharts/service-instance/values.md +0 -186
- package/lib/init/template/helm/subcharts/web-application/templating.md +0 -51
- package/lib/init/template/helm/subcharts/web-application/values-lint.yaml +0 -8
- package/lib/init/template/helm/subcharts/web-application/values.md +0 -1363
|
@@ -1,1011 +0,0 @@
|
|
|
1
|
-
# Schema Docs
|
|
2
|
-
|
|
3
|
-
| | |
|
|
4
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
5
|
-
| **Type** | `object` |
|
|
6
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
7
|
-
|
|
8
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
9
|
-
| ------------------------------------------------ | ------- | --------------- | ---------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------ |
|
|
10
|
-
| - [global](#global ) | No | object | No | - | Helm global values |
|
|
11
|
-
| - [nameOverride](#nameOverride ) | No | string | No | - | Chart name override |
|
|
12
|
-
| - [fullnameOverride](#fullnameOverride ) | No | string | No | - | Override for the \`.fullname\` helper function. |
|
|
13
|
-
| - [serviceAccountName](#serviceAccountName ) | No | string | No | - | Service Account name |
|
|
14
|
-
| + [image](#image ) | No | object | No | - | Image configuration |
|
|
15
|
-
| - [imagePullSecret](#imagePullSecret ) | No | object | No | - | Image Pull Secret configuration |
|
|
16
|
-
| - [resources](#resources ) | No | object | No | - | Pod resources configuration |
|
|
17
|
-
| - [env](#env ) | No | Combination | No | - | Key-value map of environment variables, which should be added to the Pod spec. |
|
|
18
|
-
| - [envSecretNames](#envSecretNames ) | No | array of string |  | - | [Deprecated] Use \`envFrom\` instead |
|
|
19
|
-
| - [envFrom](#envFrom ) | No | array of object | No | - | List of sources to populate environment variables in the pod. |
|
|
20
|
-
| - [ttlDaysAfterFinished](#ttlDaysAfterFinished ) | No | integer | No | - | Time to keep the Job after it has finished. |
|
|
21
|
-
| + [bindings](#bindings ) | No | object | No | - | Service Binding configuration |
|
|
22
|
-
|
|
23
|
-
## <a name="global"></a>1.  Property `global`
|
|
24
|
-
|
|
25
|
-
**Title:** Helm global values
|
|
26
|
-
|
|
27
|
-
| | |
|
|
28
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
29
|
-
| **Type** | `object` |
|
|
30
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
31
|
-
|
|
32
|
-
**Description:** For more information, see https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#global-chart-values
|
|
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
|
-
| - [](#global_additionalProperties ) | No | object | No | - | - |
|
|
39
|
-
|
|
40
|
-
### <a name="global_imagePullSecret"></a>1.1.  Property `imagePullSecret`
|
|
41
|
-
|
|
42
|
-
**Title:** Image Pull Secret configuration
|
|
43
|
-
|
|
44
|
-
| | |
|
|
45
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
46
|
-
| **Type** | `object` |
|
|
47
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
48
|
-
|
|
49
|
-
**Description:** For more information, see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
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
|
-
| - [](#global_imagePullSecret_additionalProperties ) | No | object | No | - | - |
|
|
56
|
-
|
|
57
|
-
#### <a name="global_imagePullSecret_name"></a>1.1.1.  Property `name`
|
|
58
|
-
|
|
59
|
-
**Title:** Secret name
|
|
60
|
-
|
|
61
|
-
| | |
|
|
62
|
-
| -------------- | ---------------------------- |
|
|
63
|
-
| **Type** | `string` |
|
|
64
|
-
| **Defined in** | #/definitions/KubernetesName |
|
|
65
|
-
|
|
66
|
-
**Description:** Name of the Kubernetes Secret, used as an image pull secret (must be of type kubernetes.io/dockerconfigjson). Can't be used with the `dockerconfigjson` option.
|
|
67
|
-
|
|
68
|
-
| Restrictions | |
|
|
69
|
-
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
70
|
-
| **Must match regular expression** | ```^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$``` [Test](https://regex101.com/?regex=%5E%5Ba-z0-9%5D%28%5B-a-z0-9%5D%2A%5Ba-z0-9%5D%29%3F%28%5C.%5Ba-z0-9%5D%28%5B-a-z0-9%5D%2A%5Ba-z0-9%5D%29%3F%29%2A%24) |
|
|
71
|
-
|
|
72
|
-
#### <a name="global_imagePullSecret_dockerconfigjson"></a>1.1.2.  Property `dockerconfigjson`
|
|
73
|
-
|
|
74
|
-
**Title:** Secret content
|
|
75
|
-
|
|
76
|
-
| | |
|
|
77
|
-
| -------- | -------- |
|
|
78
|
-
| **Type** | `string` |
|
|
79
|
-
|
|
80
|
-
**Description:** The content for the dynamically generated Kubernetes Secret, which will be used as an image pull secret. Can't be used with the `name` option.
|
|
81
|
-
|
|
82
|
-
### <a name="global_image"></a>1.2.  Property `image`
|
|
83
|
-
|
|
84
|
-
**Title:** Image configuration
|
|
85
|
-
|
|
86
|
-
| | |
|
|
87
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
88
|
-
| **Type** | `object` |
|
|
89
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
90
|
-
|
|
91
|
-
**Description:** Either name or repository is required.
|
|
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
|
-
| - [](#global_image_additionalProperties ) | No | object | No | - | - |
|
|
98
|
-
|
|
99
|
-
#### <a name="global_image_tag"></a>1.2.1.  Property `tag`
|
|
100
|
-
|
|
101
|
-
| | |
|
|
102
|
-
| -------------- | ---------------------- |
|
|
103
|
-
| **Type** | `string` |
|
|
104
|
-
| **Defined in** | #/definitions/ImageTag |
|
|
105
|
-
|
|
106
|
-
**Description:** Image tag without the name (everything after the `:` sign, potentially including the `@sha256` section at the end).
|
|
107
|
-
|
|
108
|
-
| Restrictions | |
|
|
109
|
-
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
110
|
-
| **Must match regular expression** | ```^((?:(?:[a-zA-Z0-9]\|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:(?:\.(?:[a-zA-Z0-9]\|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))+)?(?::[0-9]+)?/)?[a-z0-9]+(?:(?:(?:[._]\|__\|[-]*)[a-z0-9]+)+)?(?:(?:/[a-z0-9]+(?:(?:(?:[._]\|__\|[-]*)[a-z0-9]+)+)?)+)?)(?::([\w][\w.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$``` [Test](https://regex101.com/?regex=%5E%28%28%3F%3A%28%3F%3A%5Ba-zA-Z0-9%5D%7C%5Ba-zA-Z0-9%5D%5Ba-zA-Z0-9-%5D%2A%5Ba-zA-Z0-9%5D%29%28%3F%3A%28%3F%3A%5C.%28%3F%3A%5Ba-zA-Z0-9%5D%7C%5Ba-zA-Z0-9%5D%5Ba-zA-Z0-9-%5D%2A%5Ba-zA-Z0-9%5D%29%29%2B%29%3F%28%3F%3A%3A%5B0-9%5D%2B%29%3F%2F%29%3F%5Ba-z0-9%5D%2B%28%3F%3A%28%3F%3A%28%3F%3A%5B._%5D%7C__%7C%5B-%5D%2A%29%5Ba-z0-9%5D%2B%29%2B%29%3F%28%3F%3A%28%3F%3A%2F%5Ba-z0-9%5D%2B%28%3F%3A%28%3F%3A%28%3F%3A%5B._%5D%7C__%7C%5B-%5D%2A%29%5Ba-z0-9%5D%2B%29%2B%29%3F%29%2B%29%3F%29%28%3F%3A%3A%28%5B%5Cw%5D%5B%5Cw.-%5D%7B0%2C127%7D%29%29%3F%28%3F%3A%40%28%5BA-Za-z%5D%5BA-Za-z0-9%5D%2A%28%3F%3A%5B-_%2B.%5D%5BA-Za-z%5D%5BA-Za-z0-9%5D%2A%29%2A%5B%3A%5D%5B%5B%3Axdigit%3A%5D%5D%7B32%2C%7D%29%29%3F%24) |
|
|
111
|
-
|
|
112
|
-
#### <a name="global_image_registry"></a>1.2.2.  Property `registry`
|
|
113
|
-
|
|
114
|
-
| | |
|
|
115
|
-
| -------------- | --------------------------- |
|
|
116
|
-
| **Type** | `string` |
|
|
117
|
-
| **Defined in** | #/definitions/ImageRegistry |
|
|
118
|
-
|
|
119
|
-
**Description:** Image registry e.g. docker.io
|
|
120
|
-
|
|
121
|
-
| Restrictions | |
|
|
122
|
-
| --------------------------------- | ----------------------------------------------------------------------------- |
|
|
123
|
-
| **Must match regular expression** | ```^[\w-./]+$``` [Test](https://regex101.com/?regex=%5E%5B%5Cw-.%2F%5D%2B%24) |
|
|
124
|
-
|
|
125
|
-
## <a name="nameOverride"></a>2.  Property `nameOverride`
|
|
126
|
-
|
|
127
|
-
**Title:** Chart name override
|
|
128
|
-
|
|
129
|
-
| | |
|
|
130
|
-
| -------- | -------- |
|
|
131
|
-
| **Type** | `string` |
|
|
132
|
-
|
|
133
|
-
**Description:** Will be used instead of the `.Chart.Name`, e.g. when generating the Deployment name.
|
|
134
|
-
|
|
135
|
-
| Restrictions | |
|
|
136
|
-
| --------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
137
|
-
| **Must match regular expression** | ```[0-9a-z][0-9a-z-.]*``` [Test](https://regex101.com/?regex=%5B0-9a-z%5D%5B0-9a-z-.%5D%2A) |
|
|
138
|
-
|
|
139
|
-
## <a name="fullnameOverride"></a>3.  Property `fullnameOverride`
|
|
140
|
-
|
|
141
|
-
**Title:** Override for the `.fullname` helper function.
|
|
142
|
-
|
|
143
|
-
| | |
|
|
144
|
-
| -------- | -------- |
|
|
145
|
-
| **Type** | `string` |
|
|
146
|
-
|
|
147
|
-
**Description:** Will be used as an override for the `.fullname` helper function (i.e. `.Release.Name-.Chart.Name`).
|
|
148
|
-
|
|
149
|
-
| Restrictions | |
|
|
150
|
-
| --------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
151
|
-
| **Must match regular expression** | ```[0-9a-z][0-9a-z-.]*``` [Test](https://regex101.com/?regex=%5B0-9a-z%5D%5B0-9a-z-.%5D%2A) |
|
|
152
|
-
|
|
153
|
-
## <a name="serviceAccountName"></a>4.  Property `serviceAccountName`
|
|
154
|
-
|
|
155
|
-
**Title:** Service Account name
|
|
156
|
-
|
|
157
|
-
| | |
|
|
158
|
-
| -------- | -------- |
|
|
159
|
-
| **Type** | `string` |
|
|
160
|
-
|
|
161
|
-
**Description:** Name of the Service Account assigned to pods.
|
|
162
|
-
|
|
163
|
-
## <a name="image"></a>5.  Property `image`
|
|
164
|
-
|
|
165
|
-
**Title:** Image configuration
|
|
166
|
-
|
|
167
|
-
| | |
|
|
168
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
169
|
-
| **Type** | `object` |
|
|
170
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
171
|
-
|
|
172
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
173
|
-
| ---------------------------------- | ------- | ------ | ---------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
174
|
-
| + [repository](#image_repository ) | No | string | No | - | Repository of the image |
|
|
175
|
-
| - [tag](#image_tag ) | No | string | No | Same as [tag](#global_image_tag ) | Image tag without the name (everything after the \`:\` sign, potentially including the \`@sha256\` section at the end). |
|
|
176
|
-
| - [registry](#image_registry ) | No | string | No | Same as [registry](#global_image_registry ) | Image registry e.g. docker.io |
|
|
177
|
-
|
|
178
|
-
### <a name="image_repository"></a>5.1.  Property `repository`
|
|
179
|
-
|
|
180
|
-
**Title:** Repository of the image
|
|
181
|
-
|
|
182
|
-
| | |
|
|
183
|
-
| -------- | -------- |
|
|
184
|
-
| **Type** | `string` |
|
|
185
|
-
|
|
186
|
-
**Description:** Should also include the image name (i.e. everything before the `:` sign).
|
|
187
|
-
|
|
188
|
-
| Restrictions | |
|
|
189
|
-
| --------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
190
|
-
| **Must match regular expression** | ```^[\w-./:]*[@sha256]*$``` [Test](https://regex101.com/?regex=%5E%5B%5Cw-.%2F%3A%5D%2A%5B%40sha256%5D%2A%24) |
|
|
191
|
-
|
|
192
|
-
### <a name="image_tag"></a>5.2.  Property `tag`
|
|
193
|
-
|
|
194
|
-
| | |
|
|
195
|
-
| ---------------------- | ------------------------ |
|
|
196
|
-
| **Type** | `string` |
|
|
197
|
-
| **Same definition as** | [tag](#global_image_tag) |
|
|
198
|
-
|
|
199
|
-
**Description:** Image tag without the name (everything after the `:` sign, potentially including the `@sha256` section at the end).
|
|
200
|
-
|
|
201
|
-
### <a name="image_registry"></a>5.3.  Property `registry`
|
|
202
|
-
|
|
203
|
-
| | |
|
|
204
|
-
| ---------------------- | ---------------------------------- |
|
|
205
|
-
| **Type** | `string` |
|
|
206
|
-
| **Same definition as** | [registry](#global_image_registry) |
|
|
207
|
-
|
|
208
|
-
**Description:** Image registry e.g. docker.io
|
|
209
|
-
|
|
210
|
-
## <a name="imagePullSecret"></a>6.  Property `imagePullSecret`
|
|
211
|
-
|
|
212
|
-
**Title:** Image Pull Secret configuration
|
|
213
|
-
|
|
214
|
-
| | |
|
|
215
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
216
|
-
| **Type** | `object` |
|
|
217
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
218
|
-
|
|
219
|
-
**Description:** For more information, see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
220
|
-
|
|
221
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
222
|
-
| -------------------------------------------------------- | ------- | ------ | ---------- | --------------------------------------------- | ----------------- |
|
|
223
|
-
| - [name](#imagePullSecret_name ) | No | string | No | Same as [name](#global_imagePullSecret_name ) | Secret name |
|
|
224
|
-
| - [dockerconfigjson](#imagePullSecret_dockerconfigjson ) | No | string | No | - | Secret content |
|
|
225
|
-
|
|
226
|
-
### <a name="imagePullSecret_name"></a>6.1.  Property `name`
|
|
227
|
-
|
|
228
|
-
**Title:** Secret name
|
|
229
|
-
|
|
230
|
-
| | |
|
|
231
|
-
| ---------------------- | ------------------------------------ |
|
|
232
|
-
| **Type** | `string` |
|
|
233
|
-
| **Same definition as** | [name](#global_imagePullSecret_name) |
|
|
234
|
-
|
|
235
|
-
**Description:** Name of the Kubernetes Secret, used as an image pull secret (must be of type kubernetes.io/dockerconfigjson). Can't be used with the `dockerconfigjson` option.
|
|
236
|
-
|
|
237
|
-
### <a name="imagePullSecret_dockerconfigjson"></a>6.2.  Property `dockerconfigjson`
|
|
238
|
-
|
|
239
|
-
**Title:** Secret content
|
|
240
|
-
|
|
241
|
-
| | |
|
|
242
|
-
| -------- | -------- |
|
|
243
|
-
| **Type** | `string` |
|
|
244
|
-
|
|
245
|
-
**Description:** The content for the dynamically generated Kubernetes Secret, which will be used as an image pull secret. Can't be used with the `name` option.
|
|
246
|
-
|
|
247
|
-
## <a name="resources"></a>7.  Property `resources`
|
|
248
|
-
|
|
249
|
-
**Title:** Pod resources configuration
|
|
250
|
-
|
|
251
|
-
| | |
|
|
252
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
253
|
-
| **Type** | `object` |
|
|
254
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
255
|
-
|
|
256
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
257
|
-
| ---------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------- |
|
|
258
|
-
| - [requests](#resources_requests ) | No | object | No | - | Minimal required resources for the application to operate, that will be reserved for each replica. |
|
|
259
|
-
| - [limits](#resources_limits ) | No | object | No | - | - |
|
|
260
|
-
|
|
261
|
-
### <a name="resources_requests"></a>7.1.  Property `requests`
|
|
262
|
-
|
|
263
|
-
| | |
|
|
264
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
265
|
-
| **Type** | `object` |
|
|
266
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
267
|
-
|
|
268
|
-
**Description:** Minimal required resources for the application to operate, that will be reserved for each replica.
|
|
269
|
-
|
|
270
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
271
|
-
| ------------------------------------------------------------- | ------- | ---------------- | ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
272
|
-
| - [cpu](#resources_requests_cpu ) | No | number or string | No | - | CPU resource units, as described here https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu |
|
|
273
|
-
| - [ephemeral-storage](#resources_requests_ephemeral-storage ) | No | string | No | - | Size of the local ephemeral storage, measured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage |
|
|
274
|
-
| - [memory](#resources_requests_memory ) | No | string | No | - | Amount of memory, mesaured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory |
|
|
275
|
-
|
|
276
|
-
#### <a name="resources_requests_cpu"></a>7.1.1.  Property `cpu`
|
|
277
|
-
|
|
278
|
-
| | |
|
|
279
|
-
| -------- | ------------------ |
|
|
280
|
-
| **Type** | `number or string` |
|
|
281
|
-
|
|
282
|
-
**Description:** CPU resource units, as described here https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu
|
|
283
|
-
|
|
284
|
-
#### <a name="resources_requests_ephemeral-storage"></a>7.1.2.  Property `ephemeral-storage`
|
|
285
|
-
|
|
286
|
-
| | |
|
|
287
|
-
| -------- | -------- |
|
|
288
|
-
| **Type** | `string` |
|
|
289
|
-
|
|
290
|
-
**Description:** Size of the local ephemeral storage, measured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage
|
|
291
|
-
|
|
292
|
-
#### <a name="resources_requests_memory"></a>7.1.3.  Property `memory`
|
|
293
|
-
|
|
294
|
-
| | |
|
|
295
|
-
| -------- | -------- |
|
|
296
|
-
| **Type** | `string` |
|
|
297
|
-
|
|
298
|
-
**Description:** Amount of memory, mesaured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory
|
|
299
|
-
|
|
300
|
-
### <a name="resources_limits"></a>7.2.  Property `limits`
|
|
301
|
-
|
|
302
|
-
| | |
|
|
303
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
304
|
-
| **Type** | `object` |
|
|
305
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
306
|
-
|
|
307
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
308
|
-
| ----------------------------------------------------------- | ------- | ---------------- | ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
309
|
-
| - [cpu](#resources_limits_cpu ) | No | number or string | No | - | CPU resource units, as described here https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu |
|
|
310
|
-
| - [ephemeral-storage](#resources_limits_ephemeral-storage ) | No | string | No | - | Size of the local ephemeral storage, measured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage |
|
|
311
|
-
| - [memory](#resources_limits_memory ) | No | string | No | - | Amount of memory, mesaured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory |
|
|
312
|
-
|
|
313
|
-
#### <a name="resources_limits_cpu"></a>7.2.1.  Property `cpu`
|
|
314
|
-
|
|
315
|
-
| | |
|
|
316
|
-
| -------- | ------------------ |
|
|
317
|
-
| **Type** | `number or string` |
|
|
318
|
-
|
|
319
|
-
**Description:** CPU resource units, as described here https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu
|
|
320
|
-
|
|
321
|
-
#### <a name="resources_limits_ephemeral-storage"></a>7.2.2.  Property `ephemeral-storage`
|
|
322
|
-
|
|
323
|
-
| | |
|
|
324
|
-
| -------- | -------- |
|
|
325
|
-
| **Type** | `string` |
|
|
326
|
-
|
|
327
|
-
**Description:** Size of the local ephemeral storage, measured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#local-ephemeral-storage
|
|
328
|
-
|
|
329
|
-
#### <a name="resources_limits_memory"></a>7.2.3.  Property `memory`
|
|
330
|
-
|
|
331
|
-
| | |
|
|
332
|
-
| -------- | -------- |
|
|
333
|
-
| **Type** | `string` |
|
|
334
|
-
|
|
335
|
-
**Description:** Amount of memory, mesaured in bytes. For more info, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory
|
|
336
|
-
|
|
337
|
-
## <a name="env"></a>8.  Property `env`
|
|
338
|
-
|
|
339
|
-
| | |
|
|
340
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
341
|
-
| **Type** | `combining` |
|
|
342
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
343
|
-
| **Default** | `{}` |
|
|
344
|
-
|
|
345
|
-
**Description:** Key-value map of environment variables, which should be added to the Pod spec.
|
|
346
|
-
|
|
347
|
-
| Any of(Option) |
|
|
348
|
-
| ----------------------- |
|
|
349
|
-
| [item 0](#env_anyOf_i0) |
|
|
350
|
-
| [item 1](#env_anyOf_i1) |
|
|
351
|
-
|
|
352
|
-
### <a name="env_anyOf_i0"></a>8.1. Property `item 0`
|
|
353
|
-
|
|
354
|
-
| | |
|
|
355
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
356
|
-
| **Type** | `object` |
|
|
357
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
358
|
-
| **Default** | `{}` |
|
|
359
|
-
|
|
360
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
361
|
-
| --------------------------------------------------------- | ------- | ----------- | ---------- | ---------- | ----------------- |
|
|
362
|
-
| - [^[-._a-zA-Z][-._a-zA-Z0-9]*$](#env_anyOf_i0_pattern1 ) | Yes | Combination | No | - | - |
|
|
363
|
-
|
|
364
|
-
#### <a name="env_anyOf_i0_pattern1"></a>8.1.1. Pattern Property `^[-._a-zA-Z][-._a-zA-Z0-9]*$`
|
|
365
|
-
> All properties whose name matches the regular expression
|
|
366
|
-
```^[-._a-zA-Z][-._a-zA-Z0-9]*$``` ([Test](https://regex101.com/?regex=%5E%5B-._a-zA-Z%5D%5B-._a-zA-Z0-9%5D%2A%24))
|
|
367
|
-
must respect the following conditions
|
|
368
|
-
|
|
369
|
-
| | |
|
|
370
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
371
|
-
| **Type** | `combining` |
|
|
372
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
373
|
-
|
|
374
|
-
| Any of(Option) |
|
|
375
|
-
| -------------------------------------------- |
|
|
376
|
-
| [item 0](#env_anyOf_i0_pattern1_pattern2_i0) |
|
|
377
|
-
| [item 1](#env_anyOf_i0_pattern1_pattern2_i1) |
|
|
378
|
-
|
|
379
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i0"></a>8.1.1.1. Property `item 0`
|
|
380
|
-
|
|
381
|
-
| | |
|
|
382
|
-
| -------- | ------------------- |
|
|
383
|
-
| **Type** | `integer or string` |
|
|
384
|
-
|
|
385
|
-
**Description:** Plain value of an environment variable.
|
|
386
|
-
|
|
387
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1"></a>8.1.1.2. Property `item 1`
|
|
388
|
-
|
|
389
|
-
| | |
|
|
390
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
391
|
-
| **Type** | `object` |
|
|
392
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
393
|
-
|
|
394
|
-
**Description:** `valueFrom` configuration for the environment variable https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/
|
|
395
|
-
|
|
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
|
-
|
|
403
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef"></a>8.1.1.2.1. Property `configMapKeyRef`
|
|
404
|
-
|
|
405
|
-
| | |
|
|
406
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
407
|
-
| **Type** | `object` |
|
|
408
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
409
|
-
|
|
410
|
-
**Description:** Selects a key of a ConfigMap.
|
|
411
|
-
|
|
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
|
-
|
|
417
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_name"></a>8.1.1.2.1.1. Property `name`
|
|
418
|
-
|
|
419
|
-
| | |
|
|
420
|
-
| -------- | -------- |
|
|
421
|
-
| **Type** | `string` |
|
|
422
|
-
|
|
423
|
-
**Description:** Name of a ConfigMap.
|
|
424
|
-
|
|
425
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_configMapKeyRef_key"></a>8.1.1.2.1.2. Property `key`
|
|
426
|
-
|
|
427
|
-
| | |
|
|
428
|
-
| -------- | -------- |
|
|
429
|
-
| **Type** | `string` |
|
|
430
|
-
|
|
431
|
-
**Description:** Key in that ConfigMap, which value will be used.
|
|
432
|
-
|
|
433
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef"></a>8.1.1.2.2. Property `secretKeyRef`
|
|
434
|
-
|
|
435
|
-
| | |
|
|
436
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
437
|
-
| **Type** | `object` |
|
|
438
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
439
|
-
|
|
440
|
-
**Description:** Selects a key of a Secret.
|
|
441
|
-
|
|
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
|
-
|
|
447
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_name"></a>8.1.1.2.2.1. Property `name`
|
|
448
|
-
|
|
449
|
-
| | |
|
|
450
|
-
| -------- | -------- |
|
|
451
|
-
| **Type** | `string` |
|
|
452
|
-
|
|
453
|
-
**Description:** Name of a Secret.
|
|
454
|
-
|
|
455
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_secretKeyRef_key"></a>8.1.1.2.2.2. Property `key`
|
|
456
|
-
|
|
457
|
-
| | |
|
|
458
|
-
| -------- | -------- |
|
|
459
|
-
| **Type** | `string` |
|
|
460
|
-
|
|
461
|
-
**Description:** Key in that Secret, which value will be used.
|
|
462
|
-
|
|
463
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef"></a>8.1.1.2.3. Property `resourceFieldRef`
|
|
464
|
-
|
|
465
|
-
| | |
|
|
466
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
467
|
-
| **Type** | `object` |
|
|
468
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
469
|
-
|
|
470
|
-
**Description:** Selects a resource of the container.
|
|
471
|
-
|
|
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
|
-
|
|
477
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_containerName"></a>8.1.1.2.3.1. Property `containerName`
|
|
478
|
-
|
|
479
|
-
| | |
|
|
480
|
-
| -------- | -------- |
|
|
481
|
-
| **Type** | `string` |
|
|
482
|
-
|
|
483
|
-
**Description:** Name of a Container.
|
|
484
|
-
|
|
485
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_resourceFieldRef_resource"></a>8.1.1.2.3.2. Property `resource`
|
|
486
|
-
|
|
487
|
-
| | |
|
|
488
|
-
| -------- | -------- |
|
|
489
|
-
| **Type** | `string` |
|
|
490
|
-
|
|
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
|
-
|
|
493
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_fieldRef"></a>8.1.1.2.4. Property `fieldRef`
|
|
494
|
-
|
|
495
|
-
| | |
|
|
496
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
497
|
-
| **Type** | `object` |
|
|
498
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
499
|
-
|
|
500
|
-
**Description:** Selects a field of the pod.
|
|
501
|
-
|
|
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
|
-
|
|
506
|
-
##### <a name="env_anyOf_i0_pattern1_pattern2_i1_fieldRef_fieldPath"></a>8.1.1.2.4.1. Property `fieldPath`
|
|
507
|
-
|
|
508
|
-
| | |
|
|
509
|
-
| -------- | -------- |
|
|
510
|
-
| **Type** | `string` |
|
|
511
|
-
|
|
512
|
-
**Description:** Supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
|
|
513
|
-
|
|
514
|
-
### <a name="env_anyOf_i1"></a>8.2. Property `item 1`
|
|
515
|
-
|
|
516
|
-
| | |
|
|
517
|
-
| -------- | ----------------- |
|
|
518
|
-
| **Type** | `array of object` |
|
|
519
|
-
|
|
520
|
-
| Each item of this array must be | Description |
|
|
521
|
-
| ----------------------------------- | ----------- |
|
|
522
|
-
| [item 1 items](#env_anyOf_i1_items) | - |
|
|
523
|
-
|
|
524
|
-
#### <a name="autogenerated_heading_2"></a>8.2.1. item 1 items
|
|
525
|
-
|
|
526
|
-
| | |
|
|
527
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
528
|
-
| **Type** | `object` |
|
|
529
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
530
|
-
|
|
531
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
532
|
-
| ----------------------------------------------------------- | ------- | ----------------- | ---------- | ---------- | ------------------------------------ |
|
|
533
|
-
| + [name](#env_anyOf_i1_items_name ) | No | string | No | - | - |
|
|
534
|
-
| - [value](#env_anyOf_i1_items_value ) | No | string or integer | No | - | - |
|
|
535
|
-
| - [configMapKeyRef](#env_anyOf_i1_items_configMapKeyRef ) | No | object | No | - | Selects a key of a ConfigMap. |
|
|
536
|
-
| - [secretKeyRef](#env_anyOf_i1_items_secretKeyRef ) | No | object | No | - | Selects a key of a Secret. |
|
|
537
|
-
| - [resourceFieldRef](#env_anyOf_i1_items_resourceFieldRef ) | No | object | No | - | Selects a resource of the container. |
|
|
538
|
-
| - [fieldRef](#env_anyOf_i1_items_fieldRef ) | No | object | No | - | Selects a field of the pod. |
|
|
539
|
-
|
|
540
|
-
##### <a name="env_anyOf_i1_items_name"></a>8.2.1.1. Property `name`
|
|
541
|
-
|
|
542
|
-
| | |
|
|
543
|
-
| -------- | -------- |
|
|
544
|
-
| **Type** | `string` |
|
|
545
|
-
|
|
546
|
-
| Restrictions | |
|
|
547
|
-
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
548
|
-
| **Must match regular expression** | ```^[-._a-zA-Z][-._a-zA-Z0-9]*$``` [Test](https://regex101.com/?regex=%5E%5B-._a-zA-Z%5D%5B-._a-zA-Z0-9%5D%2A%24) |
|
|
549
|
-
|
|
550
|
-
##### <a name="env_anyOf_i1_items_value"></a>8.2.1.2. Property `value`
|
|
551
|
-
|
|
552
|
-
| | |
|
|
553
|
-
| -------- | ------------------- |
|
|
554
|
-
| **Type** | `string or integer` |
|
|
555
|
-
|
|
556
|
-
##### <a name="env_anyOf_i1_items_configMapKeyRef"></a>8.2.1.3. Property `configMapKeyRef`
|
|
557
|
-
|
|
558
|
-
| | |
|
|
559
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
560
|
-
| **Type** | `object` |
|
|
561
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
562
|
-
|
|
563
|
-
**Description:** Selects a key of a ConfigMap.
|
|
564
|
-
|
|
565
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
566
|
-
| --------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------ |
|
|
567
|
-
| - [name](#env_anyOf_i1_items_configMapKeyRef_name ) | No | string | No | - | Name of a ConfigMap. |
|
|
568
|
-
| - [key](#env_anyOf_i1_items_configMapKeyRef_key ) | No | string | No | - | Key in that ConfigMap, which value will be used. |
|
|
569
|
-
|
|
570
|
-
##### <a name="env_anyOf_i1_items_configMapKeyRef_name"></a>8.2.1.3.1. Property `name`
|
|
571
|
-
|
|
572
|
-
| | |
|
|
573
|
-
| -------- | -------- |
|
|
574
|
-
| **Type** | `string` |
|
|
575
|
-
|
|
576
|
-
**Description:** Name of a ConfigMap.
|
|
577
|
-
|
|
578
|
-
##### <a name="env_anyOf_i1_items_configMapKeyRef_key"></a>8.2.1.3.2. Property `key`
|
|
579
|
-
|
|
580
|
-
| | |
|
|
581
|
-
| -------- | -------- |
|
|
582
|
-
| **Type** | `string` |
|
|
583
|
-
|
|
584
|
-
**Description:** Key in that ConfigMap, which value will be used.
|
|
585
|
-
|
|
586
|
-
##### <a name="env_anyOf_i1_items_secretKeyRef"></a>8.2.1.4. Property `secretKeyRef`
|
|
587
|
-
|
|
588
|
-
| | |
|
|
589
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
590
|
-
| **Type** | `object` |
|
|
591
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
592
|
-
|
|
593
|
-
**Description:** Selects a key of a Secret.
|
|
594
|
-
|
|
595
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
596
|
-
| ------------------------------------------------ | ------- | ------ | ---------- | ---------- | --------------------------------------------- |
|
|
597
|
-
| - [name](#env_anyOf_i1_items_secretKeyRef_name ) | No | string | No | - | Name of a Secret. |
|
|
598
|
-
| - [key](#env_anyOf_i1_items_secretKeyRef_key ) | No | string | No | - | Key in that Secret, which value will be used. |
|
|
599
|
-
|
|
600
|
-
##### <a name="env_anyOf_i1_items_secretKeyRef_name"></a>8.2.1.4.1. Property `name`
|
|
601
|
-
|
|
602
|
-
| | |
|
|
603
|
-
| -------- | -------- |
|
|
604
|
-
| **Type** | `string` |
|
|
605
|
-
|
|
606
|
-
**Description:** Name of a Secret.
|
|
607
|
-
|
|
608
|
-
##### <a name="env_anyOf_i1_items_secretKeyRef_key"></a>8.2.1.4.2. Property `key`
|
|
609
|
-
|
|
610
|
-
| | |
|
|
611
|
-
| -------- | -------- |
|
|
612
|
-
| **Type** | `string` |
|
|
613
|
-
|
|
614
|
-
**Description:** Key in that Secret, which value will be used.
|
|
615
|
-
|
|
616
|
-
##### <a name="env_anyOf_i1_items_resourceFieldRef"></a>8.2.1.5. Property `resourceFieldRef`
|
|
617
|
-
|
|
618
|
-
| | |
|
|
619
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
620
|
-
| **Type** | `object` |
|
|
621
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
622
|
-
|
|
623
|
-
**Description:** Selects a resource of the container.
|
|
624
|
-
|
|
625
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
626
|
-
| ---------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
627
|
-
| - [containerName](#env_anyOf_i1_items_resourceFieldRef_containerName ) | No | string | No | - | Name of a Container. |
|
|
628
|
-
| - [resource](#env_anyOf_i1_items_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. |
|
|
629
|
-
|
|
630
|
-
##### <a name="env_anyOf_i1_items_resourceFieldRef_containerName"></a>8.2.1.5.1. Property `containerName`
|
|
631
|
-
|
|
632
|
-
| | |
|
|
633
|
-
| -------- | -------- |
|
|
634
|
-
| **Type** | `string` |
|
|
635
|
-
|
|
636
|
-
**Description:** Name of a Container.
|
|
637
|
-
|
|
638
|
-
##### <a name="env_anyOf_i1_items_resourceFieldRef_resource"></a>8.2.1.5.2. Property `resource`
|
|
639
|
-
|
|
640
|
-
| | |
|
|
641
|
-
| -------- | -------- |
|
|
642
|
-
| **Type** | `string` |
|
|
643
|
-
|
|
644
|
-
**Description:** Only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
|
|
645
|
-
|
|
646
|
-
##### <a name="env_anyOf_i1_items_fieldRef"></a>8.2.1.6. Property `fieldRef`
|
|
647
|
-
|
|
648
|
-
| | |
|
|
649
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
650
|
-
| **Type** | `object` |
|
|
651
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
652
|
-
|
|
653
|
-
**Description:** Selects a field of the pod.
|
|
654
|
-
|
|
655
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
656
|
-
| ------------------------------------------------------ | ------- | ------ | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
657
|
-
| - [fieldPath](#env_anyOf_i1_items_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. |
|
|
658
|
-
|
|
659
|
-
##### <a name="env_anyOf_i1_items_fieldRef_fieldPath"></a>8.2.1.6.1. Property `fieldPath`
|
|
660
|
-
|
|
661
|
-
| | |
|
|
662
|
-
| -------- | -------- |
|
|
663
|
-
| **Type** | `string` |
|
|
664
|
-
|
|
665
|
-
**Description:** Supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
|
|
666
|
-
|
|
667
|
-
## <a name="envSecretNames"></a>9. ~~ Property `envSecretNames`~~
|
|
668
|
-
|
|
669
|
-
| | |
|
|
670
|
-
| -------------- | ---------------------------------------------------------- |
|
|
671
|
-
| **Type** | `array of string` |
|
|
672
|
-
| **Deprecated** |  |
|
|
673
|
-
|
|
674
|
-
**Description:** [Deprecated] Use `envFrom` instead
|
|
675
|
-
|
|
676
|
-
| Each item of this array must be | Description |
|
|
677
|
-
| --------------------------------------- | ----------- |
|
|
678
|
-
| [KubernetesName](#envSecretNames_items) | - |
|
|
679
|
-
|
|
680
|
-
### <a name="autogenerated_heading_3"></a>9.1. KubernetesName
|
|
681
|
-
|
|
682
|
-
| | |
|
|
683
|
-
| ---------------------- | ------------------------------------ |
|
|
684
|
-
| **Type** | `string` |
|
|
685
|
-
| **Same definition as** | [name](#global_imagePullSecret_name) |
|
|
686
|
-
|
|
687
|
-
## <a name="envFrom"></a>10.  Property `envFrom`
|
|
688
|
-
|
|
689
|
-
| | |
|
|
690
|
-
| ----------- | ----------------- |
|
|
691
|
-
| **Type** | `array of object` |
|
|
692
|
-
| **Default** | `[]` |
|
|
693
|
-
|
|
694
|
-
**Description:** List of sources to populate environment variables in the pod.
|
|
695
|
-
|
|
696
|
-
| Each item of this array must be | Description |
|
|
697
|
-
| ------------------------------- | ----------- |
|
|
698
|
-
| [envFrom items](#envFrom_items) | - |
|
|
699
|
-
|
|
700
|
-
### <a name="autogenerated_heading_4"></a>10.1. envFrom items
|
|
701
|
-
|
|
702
|
-
| | |
|
|
703
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
704
|
-
| **Type** | `combining` |
|
|
705
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
706
|
-
|
|
707
|
-
| One of(Option) |
|
|
708
|
-
| --------------------------------- |
|
|
709
|
-
| [item 0](#envFrom_items_oneOf_i0) |
|
|
710
|
-
| [item 1](#envFrom_items_oneOf_i1) |
|
|
711
|
-
|
|
712
|
-
#### <a name="envFrom_items_oneOf_i0"></a>10.1.1. Property `item 0`
|
|
713
|
-
|
|
714
|
-
| | |
|
|
715
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
716
|
-
| **Type** | `object` |
|
|
717
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
718
|
-
|
|
719
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
720
|
-
| ------------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------------------------------------------------------------------------------------------------- |
|
|
721
|
-
| + [configMapRef](#envFrom_items_oneOf_i0_configMapRef ) | No | object | No | - | The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables. |
|
|
722
|
-
|
|
723
|
-
##### <a name="envFrom_items_oneOf_i0_configMapRef"></a>10.1.1.1. Property `configMapRef`
|
|
724
|
-
|
|
725
|
-
| | |
|
|
726
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
727
|
-
| **Type** | `object` |
|
|
728
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
729
|
-
|
|
730
|
-
**Description:** The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
|
|
731
|
-
|
|
732
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
733
|
-
| ---------------------------------------------------- | ------- | ------ | ---------- | ---------- | -------------------- |
|
|
734
|
-
| + [name](#envFrom_items_oneOf_i0_configMapRef_name ) | No | string | No | - | Name of a ConfigMap. |
|
|
735
|
-
|
|
736
|
-
##### <a name="envFrom_items_oneOf_i0_configMapRef_name"></a>10.1.1.1.1. Property `name`
|
|
737
|
-
|
|
738
|
-
| | |
|
|
739
|
-
| -------- | -------- |
|
|
740
|
-
| **Type** | `string` |
|
|
741
|
-
|
|
742
|
-
**Description:** Name of a ConfigMap.
|
|
743
|
-
|
|
744
|
-
#### <a name="envFrom_items_oneOf_i1"></a>10.1.2. Property `item 1`
|
|
745
|
-
|
|
746
|
-
| | |
|
|
747
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
748
|
-
| **Type** | `object` |
|
|
749
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
750
|
-
|
|
751
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
752
|
-
| ------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------------------------------------------------------------------------------------------------- |
|
|
753
|
-
| + [secretRef](#envFrom_items_oneOf_i1_secretRef ) | No | object | No | - | The contents of the target Secret's Data field will represent the key-value pairs as environment variables. |
|
|
754
|
-
|
|
755
|
-
##### <a name="envFrom_items_oneOf_i1_secretRef"></a>10.1.2.1. Property `secretRef`
|
|
756
|
-
|
|
757
|
-
| | |
|
|
758
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
759
|
-
| **Type** | `object` |
|
|
760
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
761
|
-
|
|
762
|
-
**Description:** The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
|
|
763
|
-
|
|
764
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
765
|
-
| ------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
|
|
766
|
-
| + [name](#envFrom_items_oneOf_i1_secretRef_name ) | No | string | No | - | Name of a Secret. |
|
|
767
|
-
|
|
768
|
-
##### <a name="envFrom_items_oneOf_i1_secretRef_name"></a>10.1.2.1.1. Property `name`
|
|
769
|
-
|
|
770
|
-
| | |
|
|
771
|
-
| -------- | -------- |
|
|
772
|
-
| **Type** | `string` |
|
|
773
|
-
|
|
774
|
-
**Description:** Name of a Secret.
|
|
775
|
-
|
|
776
|
-
## <a name="ttlDaysAfterFinished"></a>11.  Property `ttlDaysAfterFinished`
|
|
777
|
-
|
|
778
|
-
**Title:** Time to keep the Job after it has finished.
|
|
779
|
-
|
|
780
|
-
| | |
|
|
781
|
-
| ----------- | --------- |
|
|
782
|
-
| **Type** | `integer` |
|
|
783
|
-
| **Default** | `14` |
|
|
784
|
-
|
|
785
|
-
**Description:** Number of days to keep the Kubernetes Job once it is finished. 0 means it is removed as soon as it is finished.
|
|
786
|
-
|
|
787
|
-
| Restrictions | |
|
|
788
|
-
| ------------ | ------ |
|
|
789
|
-
| **Minimum** | ≥ 0 |
|
|
790
|
-
|
|
791
|
-
## <a name="bindings"></a>12.  Property `bindings`
|
|
792
|
-
|
|
793
|
-
**Title:** Service Binding configuration
|
|
794
|
-
|
|
795
|
-
| | |
|
|
796
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
797
|
-
| **Type** | `object` |
|
|
798
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
799
|
-
|
|
800
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
801
|
-
| ----------------------------------------------------- | ------- | ----------- | ---------- | ---------- | ----------------- |
|
|
802
|
-
| - [^[-._a-zA-Z][-._a-zA-Z0-9]*$](#bindings_pattern1 ) | Yes | Combination | No | - | - |
|
|
803
|
-
|
|
804
|
-
### <a name="bindings_pattern1"></a>12.1.  Pattern Property `^[-._a-zA-Z][-._a-zA-Z0-9]*$`
|
|
805
|
-
> All properties whose name matches the regular expression
|
|
806
|
-
```^[-._a-zA-Z][-._a-zA-Z0-9]*$``` ([Test](https://regex101.com/?regex=%5E%5B-._a-zA-Z%5D%5B-._a-zA-Z0-9%5D%2A%24))
|
|
807
|
-
must respect the following conditions
|
|
808
|
-
|
|
809
|
-
| | |
|
|
810
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
811
|
-
| **Type** | `combining` |
|
|
812
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
813
|
-
|
|
814
|
-
| One of(Option) |
|
|
815
|
-
| ---------------------------------------- |
|
|
816
|
-
| [item 0](#bindings_pattern1_pattern1_i0) |
|
|
817
|
-
| [item 1](#bindings_pattern1_pattern1_i1) |
|
|
818
|
-
|
|
819
|
-
#### <a name="bindings_pattern1_pattern1_i0"></a>12.1.1. Property `item 0`
|
|
820
|
-
|
|
821
|
-
| | |
|
|
822
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
823
|
-
| **Type** | `object` |
|
|
824
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
825
|
-
|
|
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
|
-
|
|
830
|
-
##### <a name="bindings_pattern1_pattern1_i0_fromSecret"></a>12.1.1.1. Property `fromSecret`
|
|
831
|
-
|
|
832
|
-
| | |
|
|
833
|
-
| -------- | -------- |
|
|
834
|
-
| **Type** | `string` |
|
|
835
|
-
|
|
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
|
-
|
|
838
|
-
#### <a name="bindings_pattern1_pattern1_i1"></a>12.1.2. Property `item 1`
|
|
839
|
-
|
|
840
|
-
| | |
|
|
841
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
842
|
-
| **Type** | `object` |
|
|
843
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
844
|
-
|
|
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
|
-
|
|
855
|
-
##### <a name="bindings_pattern1_pattern1_i1_serviceInstanceName"></a>12.1.2.1. Property `serviceInstanceName`
|
|
856
|
-
|
|
857
|
-
| | |
|
|
858
|
-
| -------- | -------- |
|
|
859
|
-
| **Type** | `string` |
|
|
860
|
-
|
|
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
|
-
|
|
863
|
-
##### <a name="bindings_pattern1_pattern1_i1_serviceInstanceFullname"></a>12.1.2.2. Property `serviceInstanceFullname`
|
|
864
|
-
|
|
865
|
-
| | |
|
|
866
|
-
| -------- | -------- |
|
|
867
|
-
| **Type** | `string` |
|
|
868
|
-
|
|
869
|
-
**Description:** Full name of a BTP Operator Service Instance. Can't be used with the `serviceInstanceName` option.
|
|
870
|
-
|
|
871
|
-
##### <a name="bindings_pattern1_pattern1_i1_externalName"></a>12.1.2.3. Property `externalName`
|
|
872
|
-
|
|
873
|
-
| | |
|
|
874
|
-
| -------- | -------- |
|
|
875
|
-
| **Type** | `string` |
|
|
876
|
-
|
|
877
|
-
**Description:** The name for the service binding in SAP BTP
|
|
878
|
-
|
|
879
|
-
##### <a name="bindings_pattern1_pattern1_i1_secretName"></a>12.1.2.4. Property `secretName`
|
|
880
|
-
|
|
881
|
-
| | |
|
|
882
|
-
| -------- | -------- |
|
|
883
|
-
| **Type** | `string` |
|
|
884
|
-
|
|
885
|
-
**Description:** The name of the secret where the credentials are stored.
|
|
886
|
-
|
|
887
|
-
##### <a name="bindings_pattern1_pattern1_i1_parameters"></a>12.1.2.5. Property `parameters`
|
|
888
|
-
|
|
889
|
-
| | |
|
|
890
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
891
|
-
| **Type** | `object` |
|
|
892
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
893
|
-
|
|
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
|
-
|
|
896
|
-
##### <a name="bindings_pattern1_pattern1_i1_parametersFrom"></a>12.1.2.6. Property `parametersFrom`
|
|
897
|
-
|
|
898
|
-
| | |
|
|
899
|
-
| -------- | ------- |
|
|
900
|
-
| **Type** | `array` |
|
|
901
|
-
|
|
902
|
-
**Description:** List of sources to populate parameters.
|
|
903
|
-
|
|
904
|
-
| Each item of this array must be | Description |
|
|
905
|
-
| --------------------------------------------------------------------------- | ----------- |
|
|
906
|
-
| [parametersFrom items](#bindings_pattern1_pattern1_i1_parametersFrom_items) | - |
|
|
907
|
-
|
|
908
|
-
##### <a name="autogenerated_heading_5"></a>12.1.2.6.1. parametersFrom items
|
|
909
|
-
|
|
910
|
-
| | |
|
|
911
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
912
|
-
| **Type** | `combining` |
|
|
913
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
914
|
-
|
|
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
|
-
|
|
920
|
-
##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0"></a>12.1.2.6.1.1. Property `item 0`
|
|
921
|
-
|
|
922
|
-
| | |
|
|
923
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
924
|
-
| **Type** | `object` |
|
|
925
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
926
|
-
|
|
927
|
-
**Description:** Kubernetes Secret as a parameters source.
|
|
928
|
-
|
|
929
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
930
|
-
| -------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
|
|
931
|
-
| - [secretKeyRef](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef ) | No | object | No | - | - |
|
|
932
|
-
|
|
933
|
-
##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i0_secretKeyRef"></a>12.1.2.6.1.1.1. Property `secretKeyRef`
|
|
934
|
-
|
|
935
|
-
| | |
|
|
936
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
937
|
-
| **Type** | `object` |
|
|
938
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
939
|
-
|
|
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
|
-
|
|
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
|
-
|
|
947
|
-
| | |
|
|
948
|
-
| -------- | -------- |
|
|
949
|
-
| **Type** | `string` |
|
|
950
|
-
|
|
951
|
-
**Description:** Name of a Secret.
|
|
952
|
-
|
|
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
|
-
|
|
955
|
-
| | |
|
|
956
|
-
| -------- | -------- |
|
|
957
|
-
| **Type** | `string` |
|
|
958
|
-
|
|
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
|
-
|
|
961
|
-
##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1"></a>12.1.2.6.1.2. Property `item 1`
|
|
962
|
-
|
|
963
|
-
| | |
|
|
964
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
965
|
-
| **Type** | `object` |
|
|
966
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
967
|
-
|
|
968
|
-
**Description:** Kubernetes Config Map as a parameters source.
|
|
969
|
-
|
|
970
|
-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|
|
971
|
-
| -------------------------------------------------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
|
|
972
|
-
| - [configMapKeyRef](#bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef ) | No | object | No | - | - |
|
|
973
|
-
|
|
974
|
-
##### <a name="bindings_pattern1_pattern1_i1_parametersFrom_items_anyOf_i1_configMapKeyRef"></a>12.1.2.6.1.2.1. Property `configMapKeyRef`
|
|
975
|
-
|
|
976
|
-
| | |
|
|
977
|
-
| ------------------------- | -------------------------------------------------------------------------------------------------------- |
|
|
978
|
-
| **Type** | `object` |
|
|
979
|
-
| **Additional properties** | [](# "Additional Properties not allowed.") |
|
|
980
|
-
|
|
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
|
-
|
|
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
|
-
|
|
988
|
-
| | |
|
|
989
|
-
| -------- | -------- |
|
|
990
|
-
| **Type** | `string` |
|
|
991
|
-
|
|
992
|
-
**Description:** Name of a Config Map
|
|
993
|
-
|
|
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
|
-
|
|
996
|
-
| | |
|
|
997
|
-
| -------- | -------- |
|
|
998
|
-
| **Type** | `string` |
|
|
999
|
-
|
|
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
|
-
|
|
1002
|
-
##### <a name="bindings_pattern1_pattern1_i1_credentialsRotationPolicy"></a>12.1.2.7. Property `credentialsRotationPolicy`
|
|
1003
|
-
|
|
1004
|
-
| | |
|
|
1005
|
-
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
1006
|
-
| **Type** | `object` |
|
|
1007
|
-
| **Additional properties** | [](# "Additional Properties of any type are allowed.") |
|
|
1008
|
-
|
|
1009
|
-
**Description:** Holds automatic credentials rotation configuration. For more details, see https://github.com/SAP/sap-btp-service-operator#spec-1
|
|
1010
|
-
|
|
1011
|
-
----------------------------------------------------------------------------------------------------------------------------
|