@bluedynamics/cdk8s-plone 0.1.63 → 0.2.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.
- package/.jsii +248 -68
- package/API.md +154 -8
- package/documentation/sources/how-to/deploy-with-vinyl-cache.md +35 -9
- package/documentation/sources/how-to/upgrade-and-rollout.md +12 -2
- package/documentation/sources/reference/configuration-options.md +37 -0
- package/lib/deployment.d.ts +28 -6
- package/lib/deployment.js +45 -2
- package/lib/httpcache.js +1 -1
- package/lib/imports/vinyl.bluedynamics.eu.d.ts +7796 -77
- package/lib/imports/vinyl.bluedynamics.eu.js +3636 -12
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/kube.d.ts +24 -0
- package/lib/kube.js +89 -0
- package/lib/plone.d.ts +32 -0
- package/lib/plone.js +31 -2
- package/lib/service.d.ts +14 -5
- package/lib/service.js +33 -5
- package/lib/vinylcache.d.ts +22 -6
- package/lib/vinylcache.js +32 -7
- package/package.json +2 -1
package/.jsii
CHANGED
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
},
|
|
281
281
|
"locationInModule": {
|
|
282
282
|
"filename": "src/plone.ts",
|
|
283
|
-
"line":
|
|
283
|
+
"line": 474
|
|
284
284
|
},
|
|
285
285
|
"parameters": [
|
|
286
286
|
{
|
|
@@ -307,10 +307,41 @@
|
|
|
307
307
|
"kind": "class",
|
|
308
308
|
"locationInModule": {
|
|
309
309
|
"filename": "src/plone.ts",
|
|
310
|
-
"line":
|
|
310
|
+
"line": 426
|
|
311
311
|
},
|
|
312
312
|
"name": "Plone",
|
|
313
313
|
"properties": [
|
|
314
|
+
{
|
|
315
|
+
"docs": {
|
|
316
|
+
"remarks": "JSON patches apply to the final manifest, so plain values are kept:\n`plone.backendDeployment.addJsonPatch(JsonPatch.add('/spec/template/spec/containers/0/args', ['--debug']))`.\nThe Plone container is always `containers/0`.",
|
|
317
|
+
"stability": "stable",
|
|
318
|
+
"summary": "The backend Deployment, as an escape hatch for fields without a dedicated option."
|
|
319
|
+
},
|
|
320
|
+
"immutable": true,
|
|
321
|
+
"locationInModule": {
|
|
322
|
+
"filename": "src/plone.ts",
|
|
323
|
+
"line": 445
|
|
324
|
+
},
|
|
325
|
+
"name": "backendDeployment",
|
|
326
|
+
"type": {
|
|
327
|
+
"fqn": "cdk8s.ApiObject"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"docs": {
|
|
332
|
+
"stability": "stable",
|
|
333
|
+
"summary": "The backend Service, as an escape hatch, see `backendDeployment`."
|
|
334
|
+
},
|
|
335
|
+
"immutable": true,
|
|
336
|
+
"locationInModule": {
|
|
337
|
+
"filename": "src/plone.ts",
|
|
338
|
+
"line": 450
|
|
339
|
+
},
|
|
340
|
+
"name": "backendService",
|
|
341
|
+
"type": {
|
|
342
|
+
"fqn": "cdk8s.ApiObject"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
314
345
|
{
|
|
315
346
|
"docs": {
|
|
316
347
|
"remarks": "Use this to reference the backend service from other constructs.",
|
|
@@ -320,7 +351,7 @@
|
|
|
320
351
|
"immutable": true,
|
|
321
352
|
"locationInModule": {
|
|
322
353
|
"filename": "src/plone.ts",
|
|
323
|
-
"line":
|
|
354
|
+
"line": 431
|
|
324
355
|
},
|
|
325
356
|
"name": "backendServiceName",
|
|
326
357
|
"type": {
|
|
@@ -335,7 +366,7 @@
|
|
|
335
366
|
"immutable": true,
|
|
336
367
|
"locationInModule": {
|
|
337
368
|
"filename": "src/plone.ts",
|
|
338
|
-
"line":
|
|
369
|
+
"line": 472
|
|
339
370
|
},
|
|
340
371
|
"name": "siteId",
|
|
341
372
|
"type": {
|
|
@@ -350,13 +381,47 @@
|
|
|
350
381
|
"immutable": true,
|
|
351
382
|
"locationInModule": {
|
|
352
383
|
"filename": "src/plone.ts",
|
|
353
|
-
"line":
|
|
384
|
+
"line": 467
|
|
354
385
|
},
|
|
355
386
|
"name": "variant",
|
|
356
387
|
"type": {
|
|
357
388
|
"fqn": "@bluedynamics/cdk8s-plone.PloneVariant"
|
|
358
389
|
}
|
|
359
390
|
},
|
|
391
|
+
{
|
|
392
|
+
"docs": {
|
|
393
|
+
"remarks": "Only set when variant is VOLTO, otherwise undefined.",
|
|
394
|
+
"stability": "stable",
|
|
395
|
+
"summary": "The frontend Deployment, as an escape hatch, see `backendDeployment`."
|
|
396
|
+
},
|
|
397
|
+
"immutable": true,
|
|
398
|
+
"locationInModule": {
|
|
399
|
+
"filename": "src/plone.ts",
|
|
400
|
+
"line": 456
|
|
401
|
+
},
|
|
402
|
+
"name": "frontendDeployment",
|
|
403
|
+
"optional": true,
|
|
404
|
+
"type": {
|
|
405
|
+
"fqn": "cdk8s.ApiObject"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"docs": {
|
|
410
|
+
"remarks": "Only set when variant is VOLTO, otherwise undefined.",
|
|
411
|
+
"stability": "stable",
|
|
412
|
+
"summary": "The frontend Service, as an escape hatch, see `backendDeployment`."
|
|
413
|
+
},
|
|
414
|
+
"immutable": true,
|
|
415
|
+
"locationInModule": {
|
|
416
|
+
"filename": "src/plone.ts",
|
|
417
|
+
"line": 462
|
|
418
|
+
},
|
|
419
|
+
"name": "frontendService",
|
|
420
|
+
"optional": true,
|
|
421
|
+
"type": {
|
|
422
|
+
"fqn": "cdk8s.ApiObject"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
360
425
|
{
|
|
361
426
|
"docs": {
|
|
362
427
|
"remarks": "Only set when variant is VOLTO, otherwise undefined.",
|
|
@@ -366,7 +431,7 @@
|
|
|
366
431
|
"immutable": true,
|
|
367
432
|
"locationInModule": {
|
|
368
433
|
"filename": "src/plone.ts",
|
|
369
|
-
"line":
|
|
434
|
+
"line": 437
|
|
370
435
|
},
|
|
371
436
|
"name": "frontendServiceName",
|
|
372
437
|
"optional": true,
|
|
@@ -957,6 +1022,24 @@
|
|
|
957
1022
|
"primitive": "string"
|
|
958
1023
|
}
|
|
959
1024
|
},
|
|
1025
|
+
{
|
|
1026
|
+
"abstract": true,
|
|
1027
|
+
"docs": {
|
|
1028
|
+
"default": "- Kubernetes default ('25%' surge, '25%' unavailable)",
|
|
1029
|
+
"stability": "stable",
|
|
1030
|
+
"summary": "Rolling update settings for the Deployment (`spec.strategy.rollingUpdate`). For rollouts without a capacity dip use `{ maxUnavailable: 0, maxSurge: '50%' }`: Plone needs time to become ready, and the default lets a quarter of the pods go away first. Not to be confused with the top-level `maxUnavailable` and `minAvailable`, which configure the PodDisruptionBudget."
|
|
1031
|
+
},
|
|
1032
|
+
"immutable": true,
|
|
1033
|
+
"locationInModule": {
|
|
1034
|
+
"filename": "src/plone.ts",
|
|
1035
|
+
"line": 328
|
|
1036
|
+
},
|
|
1037
|
+
"name": "rollingUpdate",
|
|
1038
|
+
"optional": true,
|
|
1039
|
+
"type": {
|
|
1040
|
+
"fqn": "@bluedynamics/cdk8s-plone.PloneRollingUpdate"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
960
1043
|
{
|
|
961
1044
|
"abstract": true,
|
|
962
1045
|
"docs": {
|
|
@@ -1510,7 +1593,7 @@
|
|
|
1510
1593
|
"kind": "interface",
|
|
1511
1594
|
"locationInModule": {
|
|
1512
1595
|
"filename": "src/plone.ts",
|
|
1513
|
-
"line":
|
|
1596
|
+
"line": 359
|
|
1514
1597
|
},
|
|
1515
1598
|
"name": "PloneOptions",
|
|
1516
1599
|
"properties": [
|
|
@@ -1524,7 +1607,7 @@
|
|
|
1524
1607
|
"immutable": true,
|
|
1525
1608
|
"locationInModule": {
|
|
1526
1609
|
"filename": "src/plone.ts",
|
|
1527
|
-
"line":
|
|
1610
|
+
"line": 384
|
|
1528
1611
|
},
|
|
1529
1612
|
"name": "backend",
|
|
1530
1613
|
"optional": true,
|
|
@@ -1543,7 +1626,7 @@
|
|
|
1543
1626
|
"immutable": true,
|
|
1544
1627
|
"locationInModule": {
|
|
1545
1628
|
"filename": "src/plone.ts",
|
|
1546
|
-
"line":
|
|
1629
|
+
"line": 391
|
|
1547
1630
|
},
|
|
1548
1631
|
"name": "frontend",
|
|
1549
1632
|
"optional": true,
|
|
@@ -1563,7 +1646,7 @@
|
|
|
1563
1646
|
"immutable": true,
|
|
1564
1647
|
"locationInModule": {
|
|
1565
1648
|
"filename": "src/plone.ts",
|
|
1566
|
-
"line":
|
|
1649
|
+
"line": 399
|
|
1567
1650
|
},
|
|
1568
1651
|
"name": "imagePullSecrets",
|
|
1569
1652
|
"optional": true,
|
|
@@ -1587,7 +1670,7 @@
|
|
|
1587
1670
|
"immutable": true,
|
|
1588
1671
|
"locationInModule": {
|
|
1589
1672
|
"filename": "src/plone.ts",
|
|
1590
|
-
"line":
|
|
1673
|
+
"line": 372
|
|
1591
1674
|
},
|
|
1592
1675
|
"name": "siteId",
|
|
1593
1676
|
"optional": true,
|
|
@@ -1605,7 +1688,7 @@
|
|
|
1605
1688
|
"immutable": true,
|
|
1606
1689
|
"locationInModule": {
|
|
1607
1690
|
"filename": "src/plone.ts",
|
|
1608
|
-
"line":
|
|
1691
|
+
"line": 378
|
|
1609
1692
|
},
|
|
1610
1693
|
"name": "variant",
|
|
1611
1694
|
"optional": true,
|
|
@@ -1624,7 +1707,7 @@
|
|
|
1624
1707
|
"immutable": true,
|
|
1625
1708
|
"locationInModule": {
|
|
1626
1709
|
"filename": "src/plone.ts",
|
|
1627
|
-
"line":
|
|
1710
|
+
"line": 365
|
|
1628
1711
|
},
|
|
1629
1712
|
"name": "version",
|
|
1630
1713
|
"optional": true,
|
|
@@ -1635,6 +1718,78 @@
|
|
|
1635
1718
|
],
|
|
1636
1719
|
"symbolId": "src/plone:PloneOptions"
|
|
1637
1720
|
},
|
|
1721
|
+
"@bluedynamics/cdk8s-plone.PloneRollingUpdate": {
|
|
1722
|
+
"assembly": "@bluedynamics/cdk8s-plone",
|
|
1723
|
+
"datatype": true,
|
|
1724
|
+
"docs": {
|
|
1725
|
+
"stability": "stable",
|
|
1726
|
+
"summary": "Rolling update settings for a Deployment (`spec.strategy.rollingUpdate`)."
|
|
1727
|
+
},
|
|
1728
|
+
"fqn": "@bluedynamics/cdk8s-plone.PloneRollingUpdate",
|
|
1729
|
+
"kind": "interface",
|
|
1730
|
+
"locationInModule": {
|
|
1731
|
+
"filename": "src/deployment.ts",
|
|
1732
|
+
"line": 36
|
|
1733
|
+
},
|
|
1734
|
+
"name": "PloneRollingUpdate",
|
|
1735
|
+
"properties": [
|
|
1736
|
+
{
|
|
1737
|
+
"abstract": true,
|
|
1738
|
+
"docs": {
|
|
1739
|
+
"default": "- Kubernetes default ('25%')",
|
|
1740
|
+
"stability": "stable",
|
|
1741
|
+
"summary": "Maximum number of pods created above the desired replica count during an update, as an absolute number (e.g. 1) or a percentage (e.g. '50%')."
|
|
1742
|
+
},
|
|
1743
|
+
"immutable": true,
|
|
1744
|
+
"locationInModule": {
|
|
1745
|
+
"filename": "src/deployment.ts",
|
|
1746
|
+
"line": 42
|
|
1747
|
+
},
|
|
1748
|
+
"name": "maxSurge",
|
|
1749
|
+
"optional": true,
|
|
1750
|
+
"type": {
|
|
1751
|
+
"union": {
|
|
1752
|
+
"types": [
|
|
1753
|
+
{
|
|
1754
|
+
"primitive": "string"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"primitive": "number"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"abstract": true,
|
|
1765
|
+
"docs": {
|
|
1766
|
+
"default": "- Kubernetes default ('25%')",
|
|
1767
|
+
"stability": "stable",
|
|
1768
|
+
"summary": "Maximum number of pods that can be unavailable during an update, as an absolute number (e.g. 0) or a percentage (e.g. '25%'). Not to be confused with the PodDisruptionBudget's `maxUnavailable`."
|
|
1769
|
+
},
|
|
1770
|
+
"immutable": true,
|
|
1771
|
+
"locationInModule": {
|
|
1772
|
+
"filename": "src/deployment.ts",
|
|
1773
|
+
"line": 50
|
|
1774
|
+
},
|
|
1775
|
+
"name": "maxUnavailable",
|
|
1776
|
+
"optional": true,
|
|
1777
|
+
"type": {
|
|
1778
|
+
"union": {
|
|
1779
|
+
"types": [
|
|
1780
|
+
{
|
|
1781
|
+
"primitive": "string"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"primitive": "number"
|
|
1785
|
+
}
|
|
1786
|
+
]
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
],
|
|
1791
|
+
"symbolId": "src/deployment:PloneRollingUpdate"
|
|
1792
|
+
},
|
|
1638
1793
|
"@bluedynamics/cdk8s-plone.PloneSecurityContext": {
|
|
1639
1794
|
"assembly": "@bluedynamics/cdk8s-plone",
|
|
1640
1795
|
"datatype": true,
|
|
@@ -1793,7 +1948,7 @@
|
|
|
1793
1948
|
"kind": "interface",
|
|
1794
1949
|
"locationInModule": {
|
|
1795
1950
|
"filename": "src/service.ts",
|
|
1796
|
-
"line":
|
|
1951
|
+
"line": 15
|
|
1797
1952
|
},
|
|
1798
1953
|
"name": "PloneServiceSpec",
|
|
1799
1954
|
"properties": [
|
|
@@ -1807,7 +1962,7 @@
|
|
|
1807
1962
|
"immutable": true,
|
|
1808
1963
|
"locationInModule": {
|
|
1809
1964
|
"filename": "src/service.ts",
|
|
1810
|
-
"line":
|
|
1965
|
+
"line": 68
|
|
1811
1966
|
},
|
|
1812
1967
|
"name": "annotations",
|
|
1813
1968
|
"optional": true,
|
|
@@ -1830,7 +1985,7 @@
|
|
|
1830
1985
|
"immutable": true,
|
|
1831
1986
|
"locationInModule": {
|
|
1832
1987
|
"filename": "src/service.ts",
|
|
1833
|
-
"line":
|
|
1988
|
+
"line": 38
|
|
1834
1989
|
},
|
|
1835
1990
|
"name": "externalTrafficPolicy",
|
|
1836
1991
|
"optional": true,
|
|
@@ -1848,7 +2003,7 @@
|
|
|
1848
2003
|
"immutable": true,
|
|
1849
2004
|
"locationInModule": {
|
|
1850
2005
|
"filename": "src/service.ts",
|
|
1851
|
-
"line":
|
|
2006
|
+
"line": 44
|
|
1852
2007
|
},
|
|
1853
2008
|
"name": "internalTrafficPolicy",
|
|
1854
2009
|
"optional": true,
|
|
@@ -1866,7 +2021,7 @@
|
|
|
1866
2021
|
"immutable": true,
|
|
1867
2022
|
"locationInModule": {
|
|
1868
2023
|
"filename": "src/service.ts",
|
|
1869
|
-
"line":
|
|
2024
|
+
"line": 74
|
|
1870
2025
|
},
|
|
1871
2026
|
"name": "labels",
|
|
1872
2027
|
"optional": true,
|
|
@@ -1889,7 +2044,7 @@
|
|
|
1889
2044
|
"immutable": true,
|
|
1890
2045
|
"locationInModule": {
|
|
1891
2046
|
"filename": "src/service.ts",
|
|
1892
|
-
"line":
|
|
2047
|
+
"line": 56
|
|
1893
2048
|
},
|
|
1894
2049
|
"name": "loadBalancerClass",
|
|
1895
2050
|
"optional": true,
|
|
@@ -1907,7 +2062,7 @@
|
|
|
1907
2062
|
"immutable": true,
|
|
1908
2063
|
"locationInModule": {
|
|
1909
2064
|
"filename": "src/service.ts",
|
|
1910
|
-
"line":
|
|
2065
|
+
"line": 62
|
|
1911
2066
|
},
|
|
1912
2067
|
"name": "loadBalancerSourceRanges",
|
|
1913
2068
|
"optional": true,
|
|
@@ -1925,12 +2080,12 @@
|
|
|
1925
2080
|
"docs": {
|
|
1926
2081
|
"default": "- none",
|
|
1927
2082
|
"stability": "stable",
|
|
1928
|
-
"summary": "Raw ServiceSpec overrides as a free-form map (e.g. `{ ipFamilyPolicy: 'PreferDualStack' }`). Highest precedence
|
|
2083
|
+
"summary": "Raw ServiceSpec overrides as a free-form map in manifest form (e.g. `{ ipFamilyPolicy: 'PreferDualStack' }`). Highest precedence: each top-level key replaces the field on top of all curated fields and the construct-managed base. Use for any ServiceSpec field not covered above. Keys and values are written to the Service spec verbatim and are not validated by this construct. cdk8s value objects such as `IntOrString.fromNumber(8080)` are unwrapped, and the TypeScript spellings `clusterIp`, `loadBalancerIp` and `sessionAffinityConfig.clientIp` are accepted for `clusterIP`, `loadBalancerIP` and `clientIP`."
|
|
1929
2084
|
},
|
|
1930
2085
|
"immutable": true,
|
|
1931
2086
|
"locationInModule": {
|
|
1932
2087
|
"filename": "src/service.ts",
|
|
1933
|
-
"line":
|
|
2088
|
+
"line": 88
|
|
1934
2089
|
},
|
|
1935
2090
|
"name": "overrides",
|
|
1936
2091
|
"optional": true,
|
|
@@ -1953,7 +2108,7 @@
|
|
|
1953
2108
|
"immutable": true,
|
|
1954
2109
|
"locationInModule": {
|
|
1955
2110
|
"filename": "src/service.ts",
|
|
1956
|
-
"line":
|
|
2111
|
+
"line": 50
|
|
1957
2112
|
},
|
|
1958
2113
|
"name": "publishNotReadyAddresses",
|
|
1959
2114
|
"optional": true,
|
|
@@ -1971,7 +2126,7 @@
|
|
|
1971
2126
|
"immutable": true,
|
|
1972
2127
|
"locationInModule": {
|
|
1973
2128
|
"filename": "src/service.ts",
|
|
1974
|
-
"line":
|
|
2129
|
+
"line": 32
|
|
1975
2130
|
},
|
|
1976
2131
|
"name": "sessionAffinity",
|
|
1977
2132
|
"optional": true,
|
|
@@ -1989,7 +2144,7 @@
|
|
|
1989
2144
|
"immutable": true,
|
|
1990
2145
|
"locationInModule": {
|
|
1991
2146
|
"filename": "src/service.ts",
|
|
1992
|
-
"line":
|
|
2147
|
+
"line": 26
|
|
1993
2148
|
},
|
|
1994
2149
|
"name": "trafficDistribution",
|
|
1995
2150
|
"optional": true,
|
|
@@ -2007,7 +2162,7 @@
|
|
|
2007
2162
|
"immutable": true,
|
|
2008
2163
|
"locationInModule": {
|
|
2009
2164
|
"filename": "src/service.ts",
|
|
2010
|
-
"line":
|
|
2165
|
+
"line": 20
|
|
2011
2166
|
},
|
|
2012
2167
|
"name": "type",
|
|
2013
2168
|
"optional": true,
|
|
@@ -2028,7 +2183,7 @@
|
|
|
2028
2183
|
"kind": "enum",
|
|
2029
2184
|
"locationInModule": {
|
|
2030
2185
|
"filename": "src/plone.ts",
|
|
2031
|
-
"line":
|
|
2186
|
+
"line": 333
|
|
2032
2187
|
},
|
|
2033
2188
|
"members": [
|
|
2034
2189
|
{
|
|
@@ -2075,7 +2230,7 @@
|
|
|
2075
2230
|
},
|
|
2076
2231
|
"locationInModule": {
|
|
2077
2232
|
"filename": "src/vinylcache.ts",
|
|
2078
|
-
"line":
|
|
2233
|
+
"line": 449
|
|
2079
2234
|
},
|
|
2080
2235
|
"parameters": [
|
|
2081
2236
|
{
|
|
@@ -2101,20 +2256,20 @@
|
|
|
2101
2256
|
"kind": "class",
|
|
2102
2257
|
"locationInModule": {
|
|
2103
2258
|
"filename": "src/vinylcache.ts",
|
|
2104
|
-
"line":
|
|
2259
|
+
"line": 439
|
|
2105
2260
|
},
|
|
2106
2261
|
"name": "PloneVinylCache",
|
|
2107
2262
|
"properties": [
|
|
2108
2263
|
{
|
|
2109
2264
|
"docs": {
|
|
2110
|
-
"remarks": "Has the form `http://<cache>-invalidation.<namespace>:8090`, the same\naddress the operator reports in `status.invalidationURL`. The proxy serves\nall namespaces and routes by `Host`, so the bare Service name is rejected.\n\nThrows if the chart has no namespace, because the URL cannot be built\nwithout one, or if `invalidation` is disabled.",
|
|
2265
|
+
"remarks": "Has the form `http://<cache>-invalidation.<namespace>:8090`, the same\naddress the operator reports in `status.invalidationURL`. The proxy serves\nall namespaces and routes by `Host`, so the bare Service name is rejected.\n\nPurges from clients that cannot set an `X-Vinyl-Purge-Host` header, such\nas `plone.cachepurging`, only match cached pages if `purgeHosts` is set.\n\nThrows if the chart has no namespace, because the URL cannot be built\nwithout one, or if `invalidation` is disabled.",
|
|
2111
2266
|
"stability": "stable",
|
|
2112
2267
|
"summary": "URL of the cloud-vinyl invalidation proxy for this cache, e.g. for the purge proxy setting of `plone.cachepurging`."
|
|
2113
2268
|
},
|
|
2114
2269
|
"immutable": true,
|
|
2115
2270
|
"locationInModule": {
|
|
2116
2271
|
"filename": "src/vinylcache.ts",
|
|
2117
|
-
"line":
|
|
2272
|
+
"line": 674
|
|
2118
2273
|
},
|
|
2119
2274
|
"name": "invalidationUrl",
|
|
2120
2275
|
"type": {
|
|
@@ -2130,7 +2285,7 @@
|
|
|
2130
2285
|
"immutable": true,
|
|
2131
2286
|
"locationInModule": {
|
|
2132
2287
|
"filename": "src/vinylcache.ts",
|
|
2133
|
-
"line":
|
|
2288
|
+
"line": 444
|
|
2134
2289
|
},
|
|
2135
2290
|
"name": "vinylCacheServiceName",
|
|
2136
2291
|
"type": {
|
|
@@ -2144,7 +2299,7 @@
|
|
|
2144
2299
|
"assembly": "@bluedynamics/cdk8s-plone",
|
|
2145
2300
|
"datatype": true,
|
|
2146
2301
|
"docs": {
|
|
2147
|
-
"remarks": "Creates a VinylCache custom resource that the cloud-vinyl operator\nreconciles into a Varnish Cache cluster with agent-based VCL delivery.\n\nRequires
|
|
2302
|
+
"remarks": "Creates a VinylCache custom resource that the cloud-vinyl operator\nreconciles into a Varnish Cache cluster with agent-based VCL delivery.\n\nRequires cloud-vinyl 1.0.0-rc.2 or later in the cluster\n(`vinyl.bluedynamics.eu/v1`).",
|
|
2148
2303
|
"stability": "stable",
|
|
2149
2304
|
"summary": "Configuration options for PloneVinylCache (cloud-vinyl operator)."
|
|
2150
2305
|
},
|
|
@@ -2152,7 +2307,7 @@
|
|
|
2152
2307
|
"kind": "interface",
|
|
2153
2308
|
"locationInModule": {
|
|
2154
2309
|
"filename": "src/vinylcache.ts",
|
|
2155
|
-
"line":
|
|
2310
|
+
"line": 163
|
|
2156
2311
|
},
|
|
2157
2312
|
"name": "PloneVinylCacheOptions",
|
|
2158
2313
|
"properties": [
|
|
@@ -2166,7 +2321,7 @@
|
|
|
2166
2321
|
"immutable": true,
|
|
2167
2322
|
"locationInModule": {
|
|
2168
2323
|
"filename": "src/vinylcache.ts",
|
|
2169
|
-
"line":
|
|
2324
|
+
"line": 168
|
|
2170
2325
|
},
|
|
2171
2326
|
"name": "plone",
|
|
2172
2327
|
"type": {
|
|
@@ -2184,7 +2339,7 @@
|
|
|
2184
2339
|
"immutable": true,
|
|
2185
2340
|
"locationInModule": {
|
|
2186
2341
|
"filename": "src/vinylcache.ts",
|
|
2187
|
-
"line":
|
|
2342
|
+
"line": 238
|
|
2188
2343
|
},
|
|
2189
2344
|
"name": "cluster",
|
|
2190
2345
|
"optional": true,
|
|
@@ -2202,7 +2357,7 @@
|
|
|
2202
2357
|
"immutable": true,
|
|
2203
2358
|
"locationInModule": {
|
|
2204
2359
|
"filename": "src/vinylcache.ts",
|
|
2205
|
-
"line":
|
|
2360
|
+
"line": 252
|
|
2206
2361
|
},
|
|
2207
2362
|
"name": "director",
|
|
2208
2363
|
"optional": true,
|
|
@@ -2221,7 +2376,7 @@
|
|
|
2221
2376
|
"immutable": true,
|
|
2222
2377
|
"locationInModule": {
|
|
2223
2378
|
"filename": "src/vinylcache.ts",
|
|
2224
|
-
"line":
|
|
2379
|
+
"line": 175
|
|
2225
2380
|
},
|
|
2226
2381
|
"name": "extraBackends",
|
|
2227
2382
|
"optional": true,
|
|
@@ -2237,14 +2392,15 @@
|
|
|
2237
2392
|
{
|
|
2238
2393
|
"abstract": true,
|
|
2239
2394
|
"docs": {
|
|
2240
|
-
"default": "'varnish:
|
|
2395
|
+
"default": "'varnish:9.1.0'",
|
|
2396
|
+
"remarks": "cloud-vinyl 1.0 is tested with the docker-library `varnish` 9.1 image.",
|
|
2241
2397
|
"stability": "stable",
|
|
2242
2398
|
"summary": "Container image for the Varnish pods."
|
|
2243
2399
|
},
|
|
2244
2400
|
"immutable": true,
|
|
2245
2401
|
"locationInModule": {
|
|
2246
2402
|
"filename": "src/vinylcache.ts",
|
|
2247
|
-
"line":
|
|
2403
|
+
"line": 333
|
|
2248
2404
|
},
|
|
2249
2405
|
"name": "image",
|
|
2250
2406
|
"optional": true,
|
|
@@ -2280,7 +2436,7 @@
|
|
|
2280
2436
|
"immutable": true,
|
|
2281
2437
|
"locationInModule": {
|
|
2282
2438
|
"filename": "src/vinylcache.ts",
|
|
2283
|
-
"line":
|
|
2439
|
+
"line": 199
|
|
2284
2440
|
},
|
|
2285
2441
|
"name": "limitCpu",
|
|
2286
2442
|
"optional": true,
|
|
@@ -2298,7 +2454,7 @@
|
|
|
2298
2454
|
"immutable": true,
|
|
2299
2455
|
"locationInModule": {
|
|
2300
2456
|
"filename": "src/vinylcache.ts",
|
|
2301
|
-
"line":
|
|
2457
|
+
"line": 205
|
|
2302
2458
|
},
|
|
2303
2459
|
"name": "limitMemory",
|
|
2304
2460
|
"optional": true,
|
|
@@ -2317,7 +2473,7 @@
|
|
|
2317
2473
|
"immutable": true,
|
|
2318
2474
|
"locationInModule": {
|
|
2319
2475
|
"filename": "src/vinylcache.ts",
|
|
2320
|
-
"line":
|
|
2476
|
+
"line": 326
|
|
2321
2477
|
},
|
|
2322
2478
|
"name": "monitoring",
|
|
2323
2479
|
"optional": true,
|
|
@@ -2336,7 +2492,7 @@
|
|
|
2336
2492
|
"immutable": true,
|
|
2337
2493
|
"locationInModule": {
|
|
2338
2494
|
"filename": "src/vinylcache.ts",
|
|
2339
|
-
"line":
|
|
2495
|
+
"line": 346
|
|
2340
2496
|
},
|
|
2341
2497
|
"name": "nodeSelector",
|
|
2342
2498
|
"optional": true,
|
|
@@ -2349,6 +2505,30 @@
|
|
|
2349
2505
|
}
|
|
2350
2506
|
}
|
|
2351
2507
|
},
|
|
2508
|
+
{
|
|
2509
|
+
"abstract": true,
|
|
2510
|
+
"docs": {
|
|
2511
|
+
"default": "- none, purges apply only to the host the client sends",
|
|
2512
|
+
"remarks": "Varnish keys cached pages by URL and site host, while clients reach the\nproxy through `invalidationUrl`. For a purge without an\n`X-Vinyl-Purge-Host` header, the proxy sends one purge per listed host.\nClients that cannot set headers, such as `plone.cachepurging`, need this,\nor their purges match nothing. At most 16 lowercase hostnames.",
|
|
2513
|
+
"stability": "stable",
|
|
2514
|
+
"summary": "Public site hostnames a PURGE through the invalidation proxy applies to, e.g. `['example.org', 'www.example.org']` (`spec.invalidation.purge.hosts`)."
|
|
2515
|
+
},
|
|
2516
|
+
"immutable": true,
|
|
2517
|
+
"locationInModule": {
|
|
2518
|
+
"filename": "src/vinylcache.ts",
|
|
2519
|
+
"line": 318
|
|
2520
|
+
},
|
|
2521
|
+
"name": "purgeHosts",
|
|
2522
|
+
"optional": true,
|
|
2523
|
+
"type": {
|
|
2524
|
+
"collection": {
|
|
2525
|
+
"elementtype": {
|
|
2526
|
+
"primitive": "string"
|
|
2527
|
+
},
|
|
2528
|
+
"kind": "array"
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
},
|
|
2352
2532
|
{
|
|
2353
2533
|
"abstract": true,
|
|
2354
2534
|
"docs": {
|
|
@@ -2359,7 +2539,7 @@
|
|
|
2359
2539
|
"immutable": true,
|
|
2360
2540
|
"locationInModule": {
|
|
2361
2541
|
"filename": "src/vinylcache.ts",
|
|
2362
|
-
"line":
|
|
2542
|
+
"line": 181
|
|
2363
2543
|
},
|
|
2364
2544
|
"name": "replicas",
|
|
2365
2545
|
"optional": true,
|
|
@@ -2377,7 +2557,7 @@
|
|
|
2377
2557
|
"immutable": true,
|
|
2378
2558
|
"locationInModule": {
|
|
2379
2559
|
"filename": "src/vinylcache.ts",
|
|
2380
|
-
"line":
|
|
2560
|
+
"line": 187
|
|
2381
2561
|
},
|
|
2382
2562
|
"name": "requestCpu",
|
|
2383
2563
|
"optional": true,
|
|
@@ -2395,7 +2575,7 @@
|
|
|
2395
2575
|
"immutable": true,
|
|
2396
2576
|
"locationInModule": {
|
|
2397
2577
|
"filename": "src/vinylcache.ts",
|
|
2398
|
-
"line":
|
|
2578
|
+
"line": 193
|
|
2399
2579
|
},
|
|
2400
2580
|
"name": "requestMemory",
|
|
2401
2581
|
"optional": true,
|
|
@@ -2406,15 +2586,15 @@
|
|
|
2406
2586
|
{
|
|
2407
2587
|
"abstract": true,
|
|
2408
2588
|
"docs": {
|
|
2409
|
-
"default": "- operator default (\"
|
|
2410
|
-
"remarks": "\"
|
|
2589
|
+
"default": "- operator default (\"URL\")",
|
|
2590
|
+
"remarks": "Only \"URL\" (the request URL) is supported. cloud-vinyl 1.0 removed \"HASH\":\nthe cluster routing runs in vcl_recv, before Varnish computes the hash.\nOnly applied when director is \"shard\".",
|
|
2411
2591
|
"stability": "stable",
|
|
2412
2592
|
"summary": "Shard director: what value is hashed for shard selection."
|
|
2413
2593
|
},
|
|
2414
2594
|
"immutable": true,
|
|
2415
2595
|
"locationInModule": {
|
|
2416
2596
|
"filename": "src/vinylcache.ts",
|
|
2417
|
-
"line":
|
|
2597
|
+
"line": 261
|
|
2418
2598
|
},
|
|
2419
2599
|
"name": "shardBy",
|
|
2420
2600
|
"optional": true,
|
|
@@ -2426,7 +2606,7 @@
|
|
|
2426
2606
|
"abstract": true,
|
|
2427
2607
|
"docs": {
|
|
2428
2608
|
"default": "- operator default (\"CHOSEN\")",
|
|
2429
|
-
"remarks": "\"CHOSEN\" (default) only considers the chosen backend healthy; \"ALL\" requires all\nbackends to be healthy.\nOnly applied when director is \"shard\"
|
|
2609
|
+
"remarks": "\"CHOSEN\" (default) only considers the chosen backend healthy; \"ALL\" requires all\nbackends to be healthy.\nOnly applied when director is \"shard\".",
|
|
2430
2610
|
"stability": "stable",
|
|
2431
2611
|
"summary": "Shard director: which backends the director considers when selecting a shard."
|
|
2432
2612
|
},
|
|
@@ -2491,7 +2671,7 @@
|
|
|
2491
2671
|
"immutable": true,
|
|
2492
2672
|
"locationInModule": {
|
|
2493
2673
|
"filename": "src/vinylcache.ts",
|
|
2494
|
-
"line":
|
|
2674
|
+
"line": 225
|
|
2495
2675
|
},
|
|
2496
2676
|
"name": "storage",
|
|
2497
2677
|
"optional": true,
|
|
@@ -2514,7 +2694,7 @@
|
|
|
2514
2694
|
"immutable": true,
|
|
2515
2695
|
"locationInModule": {
|
|
2516
2696
|
"filename": "src/vinylcache.ts",
|
|
2517
|
-
"line":
|
|
2697
|
+
"line": 339
|
|
2518
2698
|
},
|
|
2519
2699
|
"name": "tolerations",
|
|
2520
2700
|
"optional": true,
|
|
@@ -2537,7 +2717,7 @@
|
|
|
2537
2717
|
"immutable": true,
|
|
2538
2718
|
"locationInModule": {
|
|
2539
2719
|
"filename": "src/vinylcache.ts",
|
|
2540
|
-
"line":
|
|
2720
|
+
"line": 246
|
|
2541
2721
|
},
|
|
2542
2722
|
"name": "varnishParameters",
|
|
2543
2723
|
"optional": true,
|
|
@@ -2560,7 +2740,7 @@
|
|
|
2560
2740
|
"immutable": true,
|
|
2561
2741
|
"locationInModule": {
|
|
2562
2742
|
"filename": "src/vinylcache.ts",
|
|
2563
|
-
"line":
|
|
2743
|
+
"line": 418
|
|
2564
2744
|
},
|
|
2565
2745
|
"name": "vclBackendErrorSnippet",
|
|
2566
2746
|
"optional": true,
|
|
@@ -2578,7 +2758,7 @@
|
|
|
2578
2758
|
"immutable": true,
|
|
2579
2759
|
"locationInModule": {
|
|
2580
2760
|
"filename": "src/vinylcache.ts",
|
|
2581
|
-
"line":
|
|
2761
|
+
"line": 412
|
|
2582
2762
|
},
|
|
2583
2763
|
"name": "vclBackendFetchSnippet",
|
|
2584
2764
|
"optional": true,
|
|
@@ -2615,7 +2795,7 @@
|
|
|
2615
2795
|
"immutable": true,
|
|
2616
2796
|
"locationInModule": {
|
|
2617
2797
|
"filename": "src/vinylcache.ts",
|
|
2618
|
-
"line":
|
|
2798
|
+
"line": 352
|
|
2619
2799
|
},
|
|
2620
2800
|
"name": "vclDeliverSnippet",
|
|
2621
2801
|
"optional": true,
|
|
@@ -2633,7 +2813,7 @@
|
|
|
2633
2813
|
"immutable": true,
|
|
2634
2814
|
"locationInModule": {
|
|
2635
2815
|
"filename": "src/vinylcache.ts",
|
|
2636
|
-
"line":
|
|
2816
|
+
"line": 406
|
|
2637
2817
|
},
|
|
2638
2818
|
"name": "vclFiniSnippet",
|
|
2639
2819
|
"optional": true,
|
|
@@ -2651,7 +2831,7 @@
|
|
|
2651
2831
|
"immutable": true,
|
|
2652
2832
|
"locationInModule": {
|
|
2653
2833
|
"filename": "src/vinylcache.ts",
|
|
2654
|
-
"line":
|
|
2834
|
+
"line": 394
|
|
2655
2835
|
},
|
|
2656
2836
|
"name": "vclHashSnippet",
|
|
2657
2837
|
"optional": true,
|
|
@@ -2669,7 +2849,7 @@
|
|
|
2669
2849
|
"immutable": true,
|
|
2670
2850
|
"locationInModule": {
|
|
2671
2851
|
"filename": "src/vinylcache.ts",
|
|
2672
|
-
"line":
|
|
2852
|
+
"line": 358
|
|
2673
2853
|
},
|
|
2674
2854
|
"name": "vclHitSnippet",
|
|
2675
2855
|
"optional": true,
|
|
@@ -2687,7 +2867,7 @@
|
|
|
2687
2867
|
"immutable": true,
|
|
2688
2868
|
"locationInModule": {
|
|
2689
2869
|
"filename": "src/vinylcache.ts",
|
|
2690
|
-
"line":
|
|
2870
|
+
"line": 400
|
|
2691
2871
|
},
|
|
2692
2872
|
"name": "vclInitSnippet",
|
|
2693
2873
|
"optional": true,
|
|
@@ -2705,7 +2885,7 @@
|
|
|
2705
2885
|
"immutable": true,
|
|
2706
2886
|
"locationInModule": {
|
|
2707
2887
|
"filename": "src/vinylcache.ts",
|
|
2708
|
-
"line":
|
|
2888
|
+
"line": 364
|
|
2709
2889
|
},
|
|
2710
2890
|
"name": "vclMissSnippet",
|
|
2711
2891
|
"optional": true,
|
|
@@ -2723,7 +2903,7 @@
|
|
|
2723
2903
|
"immutable": true,
|
|
2724
2904
|
"locationInModule": {
|
|
2725
2905
|
"filename": "src/vinylcache.ts",
|
|
2726
|
-
"line":
|
|
2906
|
+
"line": 370
|
|
2727
2907
|
},
|
|
2728
2908
|
"name": "vclPassSnippet",
|
|
2729
2909
|
"optional": true,
|
|
@@ -2741,7 +2921,7 @@
|
|
|
2741
2921
|
"immutable": true,
|
|
2742
2922
|
"locationInModule": {
|
|
2743
2923
|
"filename": "src/vinylcache.ts",
|
|
2744
|
-
"line":
|
|
2924
|
+
"line": 376
|
|
2745
2925
|
},
|
|
2746
2926
|
"name": "vclPipeSnippet",
|
|
2747
2927
|
"optional": true,
|
|
@@ -2759,7 +2939,7 @@
|
|
|
2759
2939
|
"immutable": true,
|
|
2760
2940
|
"locationInModule": {
|
|
2761
2941
|
"filename": "src/vinylcache.ts",
|
|
2762
|
-
"line":
|
|
2942
|
+
"line": 388
|
|
2763
2943
|
},
|
|
2764
2944
|
"name": "vclPurgeSnippet",
|
|
2765
2945
|
"optional": true,
|
|
@@ -2796,7 +2976,7 @@
|
|
|
2796
2976
|
"immutable": true,
|
|
2797
2977
|
"locationInModule": {
|
|
2798
2978
|
"filename": "src/vinylcache.ts",
|
|
2799
|
-
"line":
|
|
2979
|
+
"line": 382
|
|
2800
2980
|
},
|
|
2801
2981
|
"name": "vclSynthSnippet",
|
|
2802
2982
|
"optional": true,
|
|
@@ -3216,6 +3396,6 @@
|
|
|
3216
3396
|
"symbolId": "src/vinylcache:VinylCacheToleration"
|
|
3217
3397
|
}
|
|
3218
3398
|
},
|
|
3219
|
-
"version": "0.
|
|
3220
|
-
"fingerprint": "
|
|
3399
|
+
"version": "0.2.0",
|
|
3400
|
+
"fingerprint": "QQvEBF5KrdaZwgaFpnpIgkLRuXR4LKl2Jei0v0aDe/4="
|
|
3221
3401
|
}
|