Skip to content

Commit 02af440

Browse files
authored
chore(getting_started): replace templating instructions with make (#609)
1 parent 31e8640 commit 02af440

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

docs/modules/hdfs/examples/getting_started/getting_started.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,7 @@
22
set -euo pipefail
33

44
# DO NOT EDIT THE SCRIPT
5-
# Instead, update the j2 template, and regenerate it for dev:
6-
# cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
7-
# helm:
8-
# repo_name: stackable-dev
9-
# repo_url: https://repo.stackable.tech/repository/helm-dev/
10-
# versions:
11-
# commons: 0.0.0-dev
12-
# hdfs: 0.0.0-dev
13-
# listener: 0.0.0-dev
14-
# secret: 0.0.0-dev
15-
# zookeeper: 0.0.0-dev
16-
# EOF
5+
# Instead, update the j2 template, and regenerate it for dev with `make render-docs`.
176

187
# This script contains all the code snippets from the guide, as well as some assert tests
198
# to test if the instructions in the guide work. The user *could* use it, but it is intended

docs/modules/hdfs/examples/getting_started/getting_started.sh.j2

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,7 @@
22
set -euo pipefail
33

44
# DO NOT EDIT THE SCRIPT
5-
# Instead, update the j2 template, and regenerate it for dev:
6-
# cat <<EOF | jinja2 --format yaml getting_started.sh.j2 -o getting_started.sh
7-
# helm:
8-
# repo_name: stackable-dev
9-
# repo_url: https://repo.stackable.tech/repository/helm-dev/
10-
# versions:
11-
# commons: 0.0.0-dev
12-
# hdfs: 0.0.0-dev
13-
# listener: 0.0.0-dev
14-
# secret: 0.0.0-dev
15-
# zookeeper: 0.0.0-dev
16-
# EOF
5+
# Instead, update the j2 template, and regenerate it for dev with `make render-docs`.
176

187
# This script contains all the code snippets from the guide, as well as some assert tests
198
# to test if the instructions in the guide work. The user *could* use it, but it is intended

docs/modules/hdfs/examples/getting_started/hdfs.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ spec:
1111
dfsReplication: 1
1212
nameNodes:
1313
config:
14-
listenerClass: external-stable
14+
listenerClass: external-stable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
1515
roleGroups:
1616
default:
1717
replicas: 2
1818
dataNodes:
1919
config:
20-
listenerClass: external-unstable
20+
listenerClass: external-unstable # This exposes your Stacklet outside of Kubernetes. Remove this configuration if this is not desired
2121
roleGroups:
2222
default:
2323
replicas: 1

0 commit comments

Comments
 (0)