@bluedynamics/cdk8s-plone 0.1.43 → 0.1.44
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 +24 -23
- package/API.md +6 -2
- package/README.md +3 -3
- package/documentation/sources/conf.py +55 -29
- package/documentation/sources/explanation/architecture.md +14 -16
- package/documentation/sources/explanation/cdk8s-workflow.md +66 -0
- package/documentation/sources/explanation/index.md +1 -27
- package/documentation/sources/how-to/backup-and-restore.md +107 -0
- package/documentation/sources/how-to/configure-env-and-secrets.md +184 -0
- package/documentation/sources/how-to/configure-ingress-tls.md +108 -0
- package/documentation/sources/how-to/configure-security-context.md +0 -5
- package/documentation/sources/how-to/deploy-blicca.md +8 -8
- package/documentation/sources/how-to/{deploy-production-volto.md → deploy-volto.md} +20 -25
- package/documentation/sources/how-to/deploy-with-httpcache.md +224 -0
- package/documentation/sources/how-to/deploy-with-vinyl-cache.md +0 -5
- package/documentation/sources/how-to/enable-prometheus-monitoring.md +4 -5
- package/documentation/sources/how-to/index.md +15 -8
- package/documentation/sources/how-to/scale-and-high-availability.md +122 -0
- package/documentation/sources/how-to/schedule-pods.md +0 -5
- package/documentation/sources/how-to/troubleshooting.md +113 -0
- package/documentation/sources/how-to/upgrade-and-rollout.md +89 -0
- package/documentation/sources/index.md +3 -11
- package/documentation/sources/reference/api/index.md +6 -4
- package/documentation/sources/reference/configuration-options.md +85 -516
- package/documentation/sources/reference/index.md +16 -43
- package/documentation/sources/tutorials/01-quick-start.md +1 -1
- package/documentation/sources/tutorials/index.md +7 -11
- package/examples/blicca/.env.example +3 -2
- package/examples/blicca/README.md +21 -24
- package/examples/blicca/__snapshots__/main.test.ts.snap +138 -345
- package/examples/blicca/main.test.ts +7 -0
- package/examples/blicca/main.ts +8 -7
- package/examples/blicca/postgres.plain.ts +115 -0
- package/examples/blicca/tsconfig.json +33 -0
- package/examples/{production-volto → volto}/.env.example +3 -2
- package/examples/{production-volto → volto}/README.md +20 -23
- package/examples/{production-volto → volto}/__snapshots__/main.test.ts.snap +139 -345
- package/examples/{production-volto → volto}/main.test.ts +7 -0
- package/examples/{production-volto → volto}/main.ts +8 -7
- package/examples/{production-volto → volto}/package.json +1 -1
- package/examples/volto/postgres.plain.ts +115 -0
- package/examples/volto/tsconfig.json +33 -0
- package/lib/httpcache.js +1 -1
- package/lib/imports/vinyl.bluedynamics.eu.d.ts +4011 -53
- package/lib/imports/vinyl.bluedynamics.eu.js +1786 -157
- package/lib/plone.js +1 -1
- package/lib/vinylcache.d.ts +3 -1
- package/lib/vinylcache.js +3 -2
- package/package.json +1 -1
- package/documentation/sources/_static/brand-theme.css +0 -685
- package/documentation/sources/_static/custom-icons.css +0 -123
- package/documentation/sources/_static/fonts/hack/Hack-Regular.woff2 +0 -0
- package/documentation/sources/_static/fonts/orbitron/Orbitron-Black.woff2 +0 -11
- package/documentation/sources/_static/fonts/orbitron/Orbitron-Bold.woff2 +0 -11
- package/documentation/sources/_static/fonts/orbitron/Orbitron-Regular.woff2 +0 -0
- package/documentation/sources/_static/fonts/rajdhani/Rajdhani-Bold.woff2 +0 -11
- package/documentation/sources/_static/fonts/rajdhani/Rajdhani-Medium.woff2 +0 -11
- package/documentation/sources/_static/fonts/rajdhani/Rajdhani-Regular.woff2 +0 -11
- package/documentation/sources/_static/fonts/rajdhani/Rajdhani-SemiBold.woff2 +0 -11
- package/documentation/sources/_static/kup6s-icon-explanation.svg +0 -32
- package/documentation/sources/_static/kup6s-icon-howto.svg +0 -34
- package/documentation/sources/_static/kup6s-icon-reference.svg +0 -34
- package/documentation/sources/_static/kup6s-icon-tutorials.svg +0 -30
- package/documentation/sources/_static/logo-fix.js +0 -12
- package/documentation/sources/reference/api/.gitkeep +0 -1
- package/examples/blicca/postgres.bitnami.ts +0 -49
- package/examples/production-volto/postgres.bitnami.ts +0 -49
- /package/documentation/sources/_static/{kup6s-icon-plone.svg → logo.svg} +0 -0
- /package/examples/{production-volto → volto}/cdk8s.yaml +0 -0
- /package/examples/{production-volto → volto}/config/varnish.tpl.vcl +0 -0
- /package/examples/{production-volto → volto}/ingress.ts +0 -0
- /package/examples/{production-volto → volto}/jest.config.js +0 -0
- /package/examples/{production-volto → volto}/postgres.cloudnativepg.ts +0 -0
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/* Custom icon styling for KUP6S documentation */
|
|
2
|
-
|
|
3
|
-
/* Eyebrow headings - context labels with icons above page titles */
|
|
4
|
-
.eyebrow {
|
|
5
|
-
font-size: 0.875rem;
|
|
6
|
-
font-weight: 600;
|
|
7
|
-
text-transform: uppercase;
|
|
8
|
-
letter-spacing: 0.05em;
|
|
9
|
-
color: var(--sy-c-link, #00d4ff);
|
|
10
|
-
margin-bottom: 0.75rem;
|
|
11
|
-
margin-top: 0;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
gap: 0.5rem;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.eyebrow img {
|
|
18
|
-
width: 20px;
|
|
19
|
-
height: 20px;
|
|
20
|
-
display: inline-block;
|
|
21
|
-
vertical-align: middle;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* Page metadata grid - text left, icon right */
|
|
25
|
-
.page-metadata {
|
|
26
|
-
display: grid;
|
|
27
|
-
grid-template-columns: 1fr auto;
|
|
28
|
-
gap: 2rem;
|
|
29
|
-
align-items: center;
|
|
30
|
-
margin: 1.5rem 0;
|
|
31
|
-
padding: 1.25rem;
|
|
32
|
-
background: rgba(0, 212, 255, 0.05);
|
|
33
|
-
border-left: 3px solid var(--sy-c-link, #00d4ff);
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.metadata-content p {
|
|
38
|
-
margin: 0.35rem 0;
|
|
39
|
-
font-size: 0.95rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.metadata-content p:first-child {
|
|
43
|
-
margin-top: 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.metadata-content p:last-child {
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.metadata-icon img {
|
|
51
|
-
width: 96px;
|
|
52
|
-
height: 96px;
|
|
53
|
-
opacity: 0.9;
|
|
54
|
-
display: block;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* Link styling - make links visible in content area */
|
|
58
|
-
.sy-c article a:not(.sd-card-link),
|
|
59
|
-
.sy-c article li a,
|
|
60
|
-
.sy-c article ul a,
|
|
61
|
-
.sy-c article ol a,
|
|
62
|
-
.toctree-l1 > a,
|
|
63
|
-
.toctree-l2 > a,
|
|
64
|
-
.toctree-l3 > a,
|
|
65
|
-
.toctree-l4 > a {
|
|
66
|
-
color: var(--sy-c-link, #00d4ff) !important;
|
|
67
|
-
text-decoration: underline;
|
|
68
|
-
text-decoration-color: rgba(0, 212, 255, 0.3);
|
|
69
|
-
text-underline-offset: 0.2em;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.sy-c article a:not(.sd-card-link):hover,
|
|
73
|
-
.sy-c article li a:hover,
|
|
74
|
-
.sy-c article ul a:hover,
|
|
75
|
-
.sy-c article ol a:hover,
|
|
76
|
-
.toctree-l1 > a:hover,
|
|
77
|
-
.toctree-l2 > a:hover,
|
|
78
|
-
.toctree-l3 > a:hover,
|
|
79
|
-
.toctree-l4 > a:hover {
|
|
80
|
-
color: var(--sy-c-link-hover, #00f0ff) !important;
|
|
81
|
-
text-decoration-color: rgba(0, 212, 255, 0.6);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Large centered section header icons */
|
|
85
|
-
.section-icon-large {
|
|
86
|
-
width: 128px !important;
|
|
87
|
-
height: 128px !important;
|
|
88
|
-
max-width: 128px !important;
|
|
89
|
-
display: block;
|
|
90
|
-
margin: 1rem auto 1rem auto !important;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* Medium centered section icons */
|
|
94
|
-
.section-icon-medium {
|
|
95
|
-
width: 96px !important;
|
|
96
|
-
height: 96px !important;
|
|
97
|
-
max-width: 96px !important;
|
|
98
|
-
display: block;
|
|
99
|
-
margin: 1.5rem auto 1rem auto !important;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Small subsection icons (left-aligned) */
|
|
103
|
-
.section-icon-small {
|
|
104
|
-
width: 48px !important;
|
|
105
|
-
height: 48px !important;
|
|
106
|
-
max-width: 48px !important;
|
|
107
|
-
display: inline-block;
|
|
108
|
-
margin-right: 0.75rem;
|
|
109
|
-
vertical-align: middle;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Icon container for better spacing */
|
|
113
|
-
.icon-header-wrapper {
|
|
114
|
-
text-align: center;
|
|
115
|
-
margin-bottom: 1rem;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.icon-header-wrapper img {
|
|
119
|
-
width: 120px;
|
|
120
|
-
height: 120px;
|
|
121
|
-
display: block;
|
|
122
|
-
margin: 0 auto;
|
|
123
|
-
}
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/orbitron/v31/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyBSmBoWgz.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/orbitron/v31/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyKSmBoWgz.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/rajdhani/v15/LDI2apCSOBg7S-QT7p65F-eug-I.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/rajdhani/v15/LDI2apCSOBg7S-QT7pbYF-eug-I.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/rajdhani/v15/LDIxapCSOBg7S-QT7p4GM_eSqw.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang=en>
|
|
3
|
-
<meta charset=utf-8>
|
|
4
|
-
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
|
|
5
|
-
<title>Error 404 (Not Found)!!1</title>
|
|
6
|
-
<style>
|
|
7
|
-
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
|
|
8
|
-
</style>
|
|
9
|
-
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
|
|
10
|
-
<p><b>404.</b> <ins>That’s an error.</ins>
|
|
11
|
-
<p>The requested URL <code>/s/rajdhani/v15/LDI2apCSOBg7S-QT7qa4F-eug-I.woff2</code> was not found on this server. <ins>That’s all we know.</ins>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="translate(50, 50)">
|
|
3
|
-
<path d="M -35,-35 L -30,-35 L -30,-30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
4
|
-
<path d="M -35,35 L -30,35 L -30,30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
5
|
-
<path d="M 35,-35 L 30,-35 L 30,-30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
6
|
-
<path d="M 35,35 L 30,35 L 30,30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
7
|
-
|
|
8
|
-
<line x1="-25" y1="-15" x2="25" y2="-15" stroke="#00d4ff" stroke-width="1" opacity="0.4"/>
|
|
9
|
-
<line x1="-25" y1="15" x2="25" y2="15" stroke="#ff00ff" stroke-width="1" opacity="0.4"/>
|
|
10
|
-
|
|
11
|
-
<!-- Explanation: Document with lightbulb/understanding symbol -->
|
|
12
|
-
<rect x="-12" y="-16" width="24" height="32" fill="none" stroke="#00d4ff" stroke-width="2.5"/>
|
|
13
|
-
<path d="M 12,-16 L 12,-10 L 6,-10" fill="none" stroke="#ff00ff" stroke-width="2"/>
|
|
14
|
-
<path d="M 6,-10 L 12,-10 L 12,-16" fill="#ff00ff" opacity="0.3"/>
|
|
15
|
-
|
|
16
|
-
<!-- Lightbulb for understanding -->
|
|
17
|
-
<circle cx="0" cy="-2" r="6" fill="none" stroke="#ff00ff" stroke-width="2"/>
|
|
18
|
-
<path d="M -3,4 L -3,7 L 3,7 L 3,4" fill="none" stroke="#00d4ff" stroke-width="1.5"/>
|
|
19
|
-
<line x1="-1" y1="8" x2="1" y2="8" stroke="#00d4ff" stroke-width="1.5"/>
|
|
20
|
-
|
|
21
|
-
<!-- Light rays -->
|
|
22
|
-
<line x1="-8" y1="-2" x2="-10" y2="-2" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
23
|
-
<line x1="8" y1="-2" x2="10" y2="-2" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
24
|
-
<line x1="-5" y1="-7" x2="-7" y2="-9" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
25
|
-
<line x1="5" y1="-7" x2="7" y2="-9" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
26
|
-
|
|
27
|
-
<line x1="-12" y1="-10" x2="-12" y2="16" stroke="#ff00ff" stroke-width="3" opacity="0.4"/>
|
|
28
|
-
|
|
29
|
-
<circle cx="-28" cy="0" r="2" fill="#00d4ff" opacity="0.8"/>
|
|
30
|
-
<circle cx="28" cy="0" r="2" fill="#ff00ff" opacity="0.8"/>
|
|
31
|
-
</g>
|
|
32
|
-
</svg>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="translate(50, 50)">
|
|
3
|
-
<path d="M -35,-35 L -30,-35 L -30,-30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
4
|
-
<path d="M -35,35 L -30,35 L -30,30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
5
|
-
<path d="M 35,-35 L 30,-35 L 30,-30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
6
|
-
<path d="M 35,35 L 30,35 L 30,30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
7
|
-
|
|
8
|
-
<line x1="-25" y1="-15" x2="25" y2="-15" stroke="#00d4ff" stroke-width="1" opacity="0.4"/>
|
|
9
|
-
<line x1="-25" y1="15" x2="25" y2="15" stroke="#ff00ff" stroke-width="1" opacity="0.4"/>
|
|
10
|
-
|
|
11
|
-
<!-- How-to: Document with numbered steps/checklist -->
|
|
12
|
-
<rect x="-12" y="-16" width="24" height="32" fill="none" stroke="#00d4ff" stroke-width="2.5"/>
|
|
13
|
-
<path d="M 12,-16 L 12,-10 L 6,-10" fill="none" stroke="#ff00ff" stroke-width="2"/>
|
|
14
|
-
<path d="M 6,-10 L 12,-10 L 12,-16" fill="#ff00ff" opacity="0.3"/>
|
|
15
|
-
|
|
16
|
-
<!-- Numbered steps -->
|
|
17
|
-
<circle cx="-7" cy="-6" r="2" fill="none" stroke="#ff00ff" stroke-width="1.5"/>
|
|
18
|
-
<text x="-7" y="-4" font-family="Arial" font-size="6" fill="#ff00ff" text-anchor="middle" font-weight="bold">1</text>
|
|
19
|
-
<line x1="-3" y1="-6" x2="8" y2="-6" stroke="#ff00ff" stroke-width="1.5" opacity="0.8"/>
|
|
20
|
-
|
|
21
|
-
<circle cx="-7" cy="1" r="2" fill="none" stroke="#ff00ff" stroke-width="1.5"/>
|
|
22
|
-
<text x="-7" y="3" font-family="Arial" font-size="6" fill="#ff00ff" text-anchor="middle" font-weight="bold">2</text>
|
|
23
|
-
<line x1="-3" y1="1" x2="8" y2="1" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
24
|
-
|
|
25
|
-
<circle cx="-7" cy="8" r="2" fill="none" stroke="#00d4ff" stroke-width="1.5"/>
|
|
26
|
-
<text x="-7" y="10" font-family="Arial" font-size="6" fill="#00d4ff" text-anchor="middle" font-weight="bold">3</text>
|
|
27
|
-
<line x1="-3" y1="8" x2="6" y2="8" stroke="#00d4ff" stroke-width="1.5" opacity="0.4"/>
|
|
28
|
-
|
|
29
|
-
<line x1="-12" y1="-10" x2="-12" y2="16" stroke="#ff00ff" stroke-width="3" opacity="0.4"/>
|
|
30
|
-
|
|
31
|
-
<circle cx="-28" cy="0" r="2" fill="#00d4ff" opacity="0.8"/>
|
|
32
|
-
<circle cx="28" cy="0" r="2" fill="#ff00ff" opacity="0.8"/>
|
|
33
|
-
</g>
|
|
34
|
-
</svg>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="translate(50, 50)">
|
|
3
|
-
<path d="M -35,-35 L -30,-35 L -30,-30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
4
|
-
<path d="M -35,35 L -30,35 L -30,30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
5
|
-
<path d="M 35,-35 L 30,-35 L 30,-30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
6
|
-
<path d="M 35,35 L 30,35 L 30,30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
7
|
-
|
|
8
|
-
<line x1="-25" y1="-15" x2="25" y2="-15" stroke="#00d4ff" stroke-width="1" opacity="0.4"/>
|
|
9
|
-
<line x1="-25" y1="15" x2="25" y2="15" stroke="#ff00ff" stroke-width="1" opacity="0.4"/>
|
|
10
|
-
|
|
11
|
-
<!-- Reference: Document with index/table symbol -->
|
|
12
|
-
<rect x="-12" y="-16" width="24" height="32" fill="none" stroke="#00d4ff" stroke-width="2.5"/>
|
|
13
|
-
<path d="M 12,-16 L 12,-10 L 6,-10" fill="none" stroke="#ff00ff" stroke-width="2"/>
|
|
14
|
-
<path d="M 6,-10 L 12,-10 L 12,-16" fill="#ff00ff" opacity="0.3"/>
|
|
15
|
-
|
|
16
|
-
<!-- Table/grid for reference -->
|
|
17
|
-
<rect x="-8" y="-8" width="16" height="16" fill="none" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
18
|
-
<line x1="-8" y1="-2" x2="8" y2="-2" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
19
|
-
<line x1="-8" y1="4" x2="8" y2="4" stroke="#ff00ff" stroke-width="1.5" opacity="0.6"/>
|
|
20
|
-
<line x1="-2" y1="-8" x2="-2" y2="8" stroke="#00d4ff" stroke-width="1.5" opacity="0.5"/>
|
|
21
|
-
<line x1="4" y1="-8" x2="4" y2="8" stroke="#00d4ff" stroke-width="1.5" opacity="0.5"/>
|
|
22
|
-
|
|
23
|
-
<!-- Dots in cells to indicate data -->
|
|
24
|
-
<circle cx="-5" cy="-5" r="0.8" fill="#ff00ff" opacity="0.8"/>
|
|
25
|
-
<circle cx="1" cy="-5" r="0.8" fill="#ff00ff" opacity="0.8"/>
|
|
26
|
-
<circle cx="-5" cy="1" r="0.8" fill="#00d4ff" opacity="0.6"/>
|
|
27
|
-
<circle cx="6" cy="6" r="0.8" fill="#00d4ff" opacity="0.6"/>
|
|
28
|
-
|
|
29
|
-
<line x1="-12" y1="-10" x2="-12" y2="16" stroke="#ff00ff" stroke-width="3" opacity="0.4"/>
|
|
30
|
-
|
|
31
|
-
<circle cx="-28" cy="0" r="2" fill="#00d4ff" opacity="0.8"/>
|
|
32
|
-
<circle cx="28" cy="0" r="2" fill="#ff00ff" opacity="0.8"/>
|
|
33
|
-
</g>
|
|
34
|
-
</svg>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g transform="translate(50, 50)">
|
|
3
|
-
<path d="M -35,-35 L -30,-35 L -30,-30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
4
|
-
<path d="M -35,35 L -30,35 L -30,30" stroke="#00d4ff" stroke-width="2.5" fill="none"/>
|
|
5
|
-
<path d="M 35,-35 L 30,-35 L 30,-30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
6
|
-
<path d="M 35,35 L 30,35 L 30,30" stroke="#ff00ff" stroke-width="2.5" fill="none"/>
|
|
7
|
-
|
|
8
|
-
<line x1="-25" y1="-15" x2="25" y2="-15" stroke="#00d4ff" stroke-width="1" opacity="0.4"/>
|
|
9
|
-
<line x1="-25" y1="15" x2="25" y2="15" stroke="#ff00ff" stroke-width="1" opacity="0.4"/>
|
|
10
|
-
|
|
11
|
-
<!-- Tutorial: Document with play/learning symbol -->
|
|
12
|
-
<rect x="-12" y="-16" width="24" height="32" fill="none" stroke="#00d4ff" stroke-width="2.5"/>
|
|
13
|
-
<path d="M 12,-16 L 12,-10 L 6,-10" fill="none" stroke="#ff00ff" stroke-width="2"/>
|
|
14
|
-
<path d="M 6,-10 L 12,-10 L 12,-16" fill="#ff00ff" opacity="0.3"/>
|
|
15
|
-
|
|
16
|
-
<!-- Play/learning icon in center -->
|
|
17
|
-
<circle cx="0" cy="0" r="10" fill="none" stroke="#ff00ff" stroke-width="2" opacity="0.6"/>
|
|
18
|
-
<path d="M -3,-5 L -3,5 L 6,0 Z" fill="#00d4ff" opacity="0.8"/>
|
|
19
|
-
|
|
20
|
-
<!-- Progress dots at bottom -->
|
|
21
|
-
<circle cx="-4" cy="11" r="1.5" fill="#ff00ff"/>
|
|
22
|
-
<circle cx="0" cy="11" r="1.5" fill="#ff00ff" opacity="0.6"/>
|
|
23
|
-
<circle cx="4" cy="11" r="1.5" fill="#00d4ff" opacity="0.4"/>
|
|
24
|
-
|
|
25
|
-
<line x1="-12" y1="-10" x2="-12" y2="16" stroke="#ff00ff" stroke-width="3" opacity="0.4"/>
|
|
26
|
-
|
|
27
|
-
<circle cx="-28" cy="0" r="2" fill="#00d4ff" opacity="0.8"/>
|
|
28
|
-
<circle cx="28" cy="0" r="2" fill="#ff00ff" opacity="0.8"/>
|
|
29
|
-
</g>
|
|
30
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// Fix logo link to always go to documentation root
|
|
2
|
-
// Works for both local (/) and GitHub Pages (/cdk8s-plone/)
|
|
3
|
-
document.addEventListener('DOMContentLoaded', function() {
|
|
4
|
-
const logoLink = document.querySelector('.sy-head-brand');
|
|
5
|
-
if (logoLink) {
|
|
6
|
-
// Get the path up to /cdk8s-plone/ (or just / for local)
|
|
7
|
-
const pathMatch = window.location.pathname.match(/^(.*?\/cdk8s-plone\/|\/)/);
|
|
8
|
-
if (pathMatch) {
|
|
9
|
-
logoLink.href = pathMatch[1];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# This directory will contain API documentation
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Helm } from 'cdk8s';
|
|
3
|
-
|
|
4
|
-
export class PGBitnamiChart extends Construct {
|
|
5
|
-
public readonly dbServiceName: string;
|
|
6
|
-
|
|
7
|
-
constructor(scope: Construct, id: string) {
|
|
8
|
-
super(scope, id);
|
|
9
|
-
|
|
10
|
-
const dbname = 'plone';
|
|
11
|
-
const dbuser = 'plone';
|
|
12
|
-
const dbpass = 'admin@plone';
|
|
13
|
-
|
|
14
|
-
const db = new Helm(this, 'db', {
|
|
15
|
-
chart: 'postgresql',
|
|
16
|
-
repo: 'https://charts.bitnami.com/bitnami',
|
|
17
|
-
// XXX: in fact I do not want a namespace here.
|
|
18
|
-
// I want to use the passed in with kubectl apply.
|
|
19
|
-
// need to figure out how to achieve this. Could be bitnami specific.
|
|
20
|
-
namespace: 'plone',
|
|
21
|
-
values: {
|
|
22
|
-
'commonLabels': { 'app.kubernetes.io/part-of': 'plone' },
|
|
23
|
-
'global': {
|
|
24
|
-
'postgresql': {
|
|
25
|
-
'postgresPassword': 'admin@postgres',
|
|
26
|
-
'username': dbuser,
|
|
27
|
-
'password': dbpass,
|
|
28
|
-
'database': dbname,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
'auth': {
|
|
32
|
-
'username': dbuser,
|
|
33
|
-
'password': dbpass,
|
|
34
|
-
'database': dbname,
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const dbService = db.apiObjects.find(construct => {
|
|
39
|
-
if ((construct.kind === 'Service') && (construct.metadata.name?.endsWith('postgresql'))) {
|
|
40
|
-
return construct.name;
|
|
41
|
-
}
|
|
42
|
-
return undefined;
|
|
43
|
-
});
|
|
44
|
-
if (dbService === undefined) {
|
|
45
|
-
throw new Error('Could not find postgresql service');
|
|
46
|
-
}
|
|
47
|
-
this.dbServiceName = dbService.name;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Helm } from 'cdk8s';
|
|
3
|
-
|
|
4
|
-
export class PGBitnamiChart extends Construct {
|
|
5
|
-
public readonly dbServiceName: string;
|
|
6
|
-
|
|
7
|
-
constructor(scope: Construct, id: string) {
|
|
8
|
-
super(scope, id);
|
|
9
|
-
|
|
10
|
-
const dbname = 'plone';
|
|
11
|
-
const dbuser = 'plone';
|
|
12
|
-
const dbpass = 'admin@plone';
|
|
13
|
-
|
|
14
|
-
const db = new Helm(this, 'db', {
|
|
15
|
-
chart: 'postgresql',
|
|
16
|
-
repo: 'https://charts.bitnami.com/bitnami',
|
|
17
|
-
// XXX: in fact I do not want a namespace here.
|
|
18
|
-
// I want to use the passed in with kubectl apply.
|
|
19
|
-
// need to figure out how to achieve this. Could be bitnami specific.
|
|
20
|
-
namespace: 'plone',
|
|
21
|
-
values: {
|
|
22
|
-
'commonLabels': { 'app.kubernetes.io/part-of': 'plone' },
|
|
23
|
-
'global': {
|
|
24
|
-
'postgresql': {
|
|
25
|
-
'postgresPassword': 'admin@postgres',
|
|
26
|
-
'username': dbuser,
|
|
27
|
-
'password': dbpass,
|
|
28
|
-
'database': dbname,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
'auth': {
|
|
32
|
-
'username': dbuser,
|
|
33
|
-
'password': dbpass,
|
|
34
|
-
'database': dbname,
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const dbService = db.apiObjects.find(construct => {
|
|
39
|
-
if ((construct.kind === 'Service') && (construct.metadata.name?.endsWith('postgresql'))) {
|
|
40
|
-
return construct.name;
|
|
41
|
-
}
|
|
42
|
-
return undefined;
|
|
43
|
-
});
|
|
44
|
-
if (dbService === undefined) {
|
|
45
|
-
throw new Error('Could not find postgresql service');
|
|
46
|
-
}
|
|
47
|
-
this.dbServiceName = dbService.name;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|