Skip to content

Commit a4ac116

Browse files
committed
fix stack example
1 parent 611e0c6 commit a4ac116

File tree

1 file changed

+38
-26
lines changed

1 file changed

+38
-26
lines changed

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

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +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 postgresql 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-
global:
42-
security:
43-
allowInsecureImages: true
44-
image:
45-
repository: bitnamilegacy/postgresql
46-
volumePermissions:
47-
image:
48-
repository: bitnamilegacy/os-shell
49-
metrics:
50-
image:
51-
repository: bitnamilegacy/postgres-exporter
52-
auth:
53-
username: superset
54-
password: superset
55-
database: superset
39+
- helmChart: https://my.corp/stacks/mycorp-warehouse/postgresql.yaml
5640
- plainYaml: https://my.corp/stacks/mycorp-warehouse/trino.yaml
5741
- plainYaml: https://my.corp/stacks/mycorp-warehouse/superset.yaml
5842
----
5943

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+
6072
== 2. Using the Custom `stacks.yaml` File
6173

6274
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)