@sap/cds-dk 6.7.0 → 6.7.2
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/CHANGELOG.md +29 -7
- package/bin/migrate.js +6 -2
- package/lib/cds.js +12 -0
- package/lib/compile/openapi/csdl2openapi.js +2 -0
- package/lib/init/constants.js +1 -1
- package/lib/init/template/helm/subcharts/web-application/templates/_helpers.tpl +21 -31
- package/lib/init/template/helm/subcharts/web-application/templates/api-rule.yaml +3 -12
- package/lib/init/template/helm/subcharts/web-application/templates/deployment.yaml +12 -14
- package/lib/init/template/helm/subcharts/web-application/templates/network-policy.yaml +27 -4
- package/lib/init/template/helm/subcharts/web-application/templates/pod-disruption-budget.yaml +0 -2
- package/lib/init/template/helm/subcharts/web-application/templates/secret.yaml +2 -2
- package/lib/init/template/helm/subcharts/web-application/templates/service-account.yaml +2 -2
- package/lib/init/template/helm/subcharts/web-application/templates/service-binding.yaml +16 -13
- package/lib/init/template/helm/subcharts/web-application/templating.md +16 -9
- package/lib/init/template/helm/subcharts/web-application/values.md +317 -379
- package/lib/init/template/helm/subcharts/web-application/values.schema.json +87 -107
- package/lib/init/template/helm/subcharts/web-application/values.yaml +28 -2
- package/lib/init/template/multitenancy/files/values.yaml.hbs +1 -1
- package/npm-shrinkwrap.json +329 -2204
- package/package.json +1 -1
|
@@ -225,19 +225,6 @@
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
|
-
"ha": {
|
|
229
|
-
"$id": "#/properties/ha",
|
|
230
|
-
"title": "High Availability configuration",
|
|
231
|
-
"type": "object",
|
|
232
|
-
"additionalProperties": false,
|
|
233
|
-
"properties": {
|
|
234
|
-
"enabled": {
|
|
235
|
-
"$id": "#/properties/ha/properties/enabled",
|
|
236
|
-
"description": "[Deprecated: Will be always enabled in future] Enables additional high-availability related configuration, like Pod Disruption Budget and Topology Spread Constraints.",
|
|
237
|
-
"type": "boolean"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
228
|
"resources": {
|
|
242
229
|
"$id": "#/properties/resources",
|
|
243
230
|
"title": "Pod resources configuration",
|
|
@@ -301,39 +288,6 @@
|
|
|
301
288
|
}
|
|
302
289
|
}
|
|
303
290
|
},
|
|
304
|
-
"health_check": {
|
|
305
|
-
"$id": "#/properties/health_check",
|
|
306
|
-
"title": "Health-check configuration",
|
|
307
|
-
"description": "[Deprecated] Use health instead",
|
|
308
|
-
"type": "object",
|
|
309
|
-
"additionalProperties": false,
|
|
310
|
-
"properties": {
|
|
311
|
-
"liveness": {
|
|
312
|
-
"$id": "#/properties/health_check/properties/liveness",
|
|
313
|
-
"description": "Liveness-probe configuration.",
|
|
314
|
-
"type": "object",
|
|
315
|
-
"additionalProperties": false,
|
|
316
|
-
"properties": {
|
|
317
|
-
"path": {
|
|
318
|
-
"description": "HTTP path used by Kubernetes, to perform health-check calls.",
|
|
319
|
-
"type": "string"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"readiness": {
|
|
324
|
-
"$id": "#/properties/health_check/properties/readiness",
|
|
325
|
-
"description": "Readiness-probe configuration.",
|
|
326
|
-
"type": "object",
|
|
327
|
-
"additionalProperties": false,
|
|
328
|
-
"properties": {
|
|
329
|
-
"path": {
|
|
330
|
-
"description": "HTTP path used by Kubernetes, to perform health-check calls.",
|
|
331
|
-
"type": "string"
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
291
|
"availability": {
|
|
338
292
|
"$id": "#/properties/availability",
|
|
339
293
|
"title": "Availability related configuration",
|
|
@@ -419,12 +373,6 @@
|
|
|
419
373
|
}
|
|
420
374
|
}
|
|
421
375
|
},
|
|
422
|
-
"startupTimeout": {
|
|
423
|
-
"$id": "#/properties/startupTimeout",
|
|
424
|
-
"description": "[Deprecated] use startupTimeoutSeconds instead",
|
|
425
|
-
"type": "integer",
|
|
426
|
-
"minimum": 1
|
|
427
|
-
},
|
|
428
376
|
"startupTimeoutSeconds": {
|
|
429
377
|
"$id": "#/properties/startupTimeoutSeconds",
|
|
430
378
|
"description": "Initial timeout in seconds, during which the app must start giving the response to the liveness-probe.",
|
|
@@ -432,6 +380,11 @@
|
|
|
432
380
|
"minimum": 1,
|
|
433
381
|
"default": 30
|
|
434
382
|
},
|
|
383
|
+
"readOnlyRootFilesystem": {
|
|
384
|
+
"$id": "#/properties/readOnlyRootFilesystem",
|
|
385
|
+
"description": "Use read only filesystem for the Deployment.",
|
|
386
|
+
"type": "boolean"
|
|
387
|
+
},
|
|
435
388
|
"terminationGracePeriodSeconds": {
|
|
436
389
|
"$id": "#/properties/terminationGracePeriodSeconds",
|
|
437
390
|
"description": "Time in seconds after which the pod will be forcefully stopped after receiving SIGTERM.",
|
|
@@ -603,15 +556,6 @@
|
|
|
603
556
|
],
|
|
604
557
|
"default": {}
|
|
605
558
|
},
|
|
606
|
-
"envSecretNames": {
|
|
607
|
-
"$id": "#/properties/envSecretNames",
|
|
608
|
-
"description": "[Deprecated] Use `envFrom` instead",
|
|
609
|
-
"type": "array",
|
|
610
|
-
"uniqueItems": true,
|
|
611
|
-
"items": {
|
|
612
|
-
"$ref": "#/definitions/KubernetesName"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
559
|
"envFrom": {
|
|
616
560
|
"$id": "#/properties/envFrom",
|
|
617
561
|
"description": "List of sources to populate environment variables in the pod.",
|
|
@@ -681,6 +625,71 @@
|
|
|
681
625
|
"description": "Use this istio gateway for incoming traffic.",
|
|
682
626
|
"type": "string",
|
|
683
627
|
"default": "kyma-gateway.kyma-system.svc.cluster.local"
|
|
628
|
+
},
|
|
629
|
+
"rules": {
|
|
630
|
+
"$id": "#/properties/expose/properties/rules",
|
|
631
|
+
"description": "Rules represents collection of Rule to apply.",
|
|
632
|
+
"type": "array",
|
|
633
|
+
"items": {
|
|
634
|
+
"description": "A rule to apply.",
|
|
635
|
+
"type": "object"
|
|
636
|
+
},
|
|
637
|
+
"default": [
|
|
638
|
+
{
|
|
639
|
+
"accessStrategies": [
|
|
640
|
+
{
|
|
641
|
+
"handler": "allow"
|
|
642
|
+
}
|
|
643
|
+
],
|
|
644
|
+
"methods": [
|
|
645
|
+
"GET",
|
|
646
|
+
"POST",
|
|
647
|
+
"PUT",
|
|
648
|
+
"PATCH",
|
|
649
|
+
"DELETE",
|
|
650
|
+
"HEAD"
|
|
651
|
+
],
|
|
652
|
+
"path": "/.*"
|
|
653
|
+
}
|
|
654
|
+
]
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"networkSecurity": {
|
|
659
|
+
"$id": "#/properties/bindings",
|
|
660
|
+
"title": "Network Security configuration",
|
|
661
|
+
"type": "object",
|
|
662
|
+
"additionalProperties": false,
|
|
663
|
+
"properties": {
|
|
664
|
+
"enabled": {
|
|
665
|
+
"type": "boolean",
|
|
666
|
+
"default": true
|
|
667
|
+
},
|
|
668
|
+
"allowNamespaceInternal": {
|
|
669
|
+
"type": "boolean"
|
|
670
|
+
},
|
|
671
|
+
"ingress": {
|
|
672
|
+
"type": "array",
|
|
673
|
+
"default": [],
|
|
674
|
+
"items": {
|
|
675
|
+
"type": "object",
|
|
676
|
+
"minProperties": 1,
|
|
677
|
+
"additionalProperties": false,
|
|
678
|
+
"properties": {
|
|
679
|
+
"namespace": {
|
|
680
|
+
"type": "string"
|
|
681
|
+
},
|
|
682
|
+
"podLabelsSelector": {
|
|
683
|
+
"type": "object",
|
|
684
|
+
"minProperties": 1,
|
|
685
|
+
"patternProperties": {
|
|
686
|
+
"^.*$": {
|
|
687
|
+
"type": "string"
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
684
693
|
}
|
|
685
694
|
}
|
|
686
695
|
},
|
|
@@ -733,58 +742,29 @@
|
|
|
733
742
|
"description": "List of sources to populate parameters.",
|
|
734
743
|
"type": "array",
|
|
735
744
|
"items": {
|
|
736
|
-
"
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
"properties": {
|
|
742
|
-
"secretKeyRef": {
|
|
743
|
-
"type": "object",
|
|
744
|
-
"additionalProperties": false,
|
|
745
|
-
"required": [
|
|
746
|
-
"name",
|
|
747
|
-
"key"
|
|
748
|
-
],
|
|
749
|
-
"properties": {
|
|
750
|
-
"name": {
|
|
751
|
-
"description": "Name of a Secret.",
|
|
752
|
-
"type": "string"
|
|
753
|
-
},
|
|
754
|
-
"key": {
|
|
755
|
-
"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.",
|
|
756
|
-
"type": "string"
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
{
|
|
745
|
+
"type": "object",
|
|
746
|
+
"description": "Kubernetes Secret as a parameters source.",
|
|
747
|
+
"additionalProperties": false,
|
|
748
|
+
"properties": {
|
|
749
|
+
"secretKeyRef": {
|
|
763
750
|
"type": "object",
|
|
764
|
-
"description": "Kubernetes Config Map as a parameters source.",
|
|
765
751
|
"additionalProperties": false,
|
|
752
|
+
"required": [
|
|
753
|
+
"name",
|
|
754
|
+
"key"
|
|
755
|
+
],
|
|
766
756
|
"properties": {
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
"properties": {
|
|
775
|
-
"name": {
|
|
776
|
-
"description": "Name of a Config Map",
|
|
777
|
-
"$ref": "#/definitions/KubernetesName"
|
|
778
|
-
},
|
|
779
|
-
"key": {
|
|
780
|
-
"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.",
|
|
781
|
-
"type": "string"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
757
|
+
"name": {
|
|
758
|
+
"description": "Name of a Secret.",
|
|
759
|
+
"type": "string"
|
|
760
|
+
},
|
|
761
|
+
"key": {
|
|
762
|
+
"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.",
|
|
763
|
+
"type": "string"
|
|
784
764
|
}
|
|
785
765
|
}
|
|
786
766
|
}
|
|
787
|
-
|
|
767
|
+
}
|
|
788
768
|
}
|
|
789
769
|
},
|
|
790
770
|
"credentialsRotationPolicy": {
|
|
@@ -57,6 +57,7 @@ health:
|
|
|
57
57
|
readiness:
|
|
58
58
|
path: /healthz
|
|
59
59
|
|
|
60
|
+
# readOnlyRootFilesystem: false
|
|
60
61
|
terminationGracePeriodSeconds: 30
|
|
61
62
|
startupTimeoutSeconds: 30
|
|
62
63
|
|
|
@@ -90,8 +91,33 @@ expose:
|
|
|
90
91
|
enabled: true
|
|
91
92
|
gateway: kyma-gateway.kyma-system.svc.cluster.local
|
|
92
93
|
# host: ""
|
|
94
|
+
rules:
|
|
95
|
+
- accessStrategies:
|
|
96
|
+
- handler: allow
|
|
97
|
+
methods:
|
|
98
|
+
- GET
|
|
99
|
+
- POST
|
|
100
|
+
- PUT
|
|
101
|
+
- PATCH
|
|
102
|
+
- DELETE
|
|
103
|
+
- HEAD
|
|
104
|
+
path: /.*
|
|
105
|
+
|
|
106
|
+
networkSecurity:
|
|
107
|
+
enabled: true
|
|
108
|
+
# allowNamespaceInternal: true
|
|
109
|
+
ingress: []
|
|
110
|
+
# - namespace: my-namespace
|
|
111
|
+
# podLabelsSelector:
|
|
112
|
+
# app: my-app
|
|
113
|
+
|
|
114
|
+
bindings:
|
|
115
|
+
defaultProperties:
|
|
116
|
+
credentialsRotationPolicy:
|
|
117
|
+
enabled: false
|
|
118
|
+
rotationFrequency: "720h"
|
|
119
|
+
rotatedBindingTTL: "24h"
|
|
93
120
|
|
|
94
|
-
# bindings:
|
|
95
121
|
# ui5-repo-servicerepo:
|
|
96
122
|
# serviceInstanceName: ui5-repo-instance
|
|
97
123
|
# externalName: ui5-kyma-binding
|
|
@@ -103,7 +129,7 @@ expose:
|
|
|
103
129
|
# key: test
|
|
104
130
|
# name: test
|
|
105
131
|
# credentialsRotationPolicy:
|
|
106
|
-
# enabled:
|
|
132
|
+
# enabled: false
|
|
107
133
|
# hana:
|
|
108
134
|
# serviceInstanceName: hana-manual
|
|
109
135
|
# portal:
|