Skip to content

Commit 53a1976

Browse files
authored
chore: update docs to use bitnamilegacy (#405)
* chore: update docs to use bitnamilegacy * fix stack example
1 parent 7f48ac1 commit 53a1976

File tree

1 file changed

+38
-15
lines changed

1 file changed

+38
-15
lines changed

docs/modules/stackablectl/pages/customization/add-stack.adoc

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,54 @@ As of writing a `stacks.yaml` file could look as follows:
2121
[source,yaml]
2222
----
2323
stacks:
24-
mycorp-warehouse:
24+
mycorp-warehouse:
2525
description: Internal stack we use to build our warehouses
26-
stackableRelease: 22.09 # or use your custom release mycorp-release1
26+
stackableRelease: 25.7 # or use your custom release mycorp-release1
27+
stackableOperators:
28+
- commons
29+
- listener
30+
- secret
31+
- trino
32+
- superset
2733
labels:
2834
- mycorp
2935
- warehouse
3036
manifests:
31-
# We have Superset in out Stack, which needs a postgressql instance
37+
# We have Superset in our Stack, which needs a postgresql instance
3238
# So let's install that first
33-
- helmChart: &template-postgresql-superset
34-
releaseName: postgresql-superset
35-
name: postgresql
36-
repo:
37-
name: bitnami
38-
url: https://charts.bitnami.com/bitnami/
39-
version: 11.0.0
40-
options:
41-
auth:
42-
username: superset
43-
password: superset
44-
database: superset
39+
- helmChart: https://my.corp/stacks/mycorp-warehouse/postgresql.yaml
4540
- plainYaml: https://my.corp/stacks/mycorp-warehouse/trino.yaml
4641
- plainYaml: https://my.corp/stacks/mycorp-warehouse/superset.yaml
4742
----
4843

44+
The referenced `helmChart` file above could look like the following:
45+
46+
[source,yaml]
47+
----
48+
releaseName: postgresql-superset
49+
name: postgresql
50+
repo:
51+
name: bitnami
52+
url: https://charts.bitnami.com/bitnami/
53+
version: 16.7.21
54+
options:
55+
global:
56+
security:
57+
allowInsecureImages: true
58+
image:
59+
repository: bitnamilegacy/postgresql
60+
volumePermissions:
61+
image:
62+
repository: bitnamilegacy/os-shell
63+
metrics:
64+
image:
65+
repository: bitnamilegacy/postgres-exporter
66+
auth:
67+
username: superset
68+
password: superset
69+
database: superset
70+
----
71+
4972
== 2. Using the Custom `stacks.yaml` File
5073

5174
After creating the `mycorp-stacks.yaml` file, it can be added to the available stacks in `stackablectl` via the CLI

0 commit comments

Comments
 (0)