Skip to content

Commit 8a430f4

Browse files
authored
fix: add helm repo instructions to vector aggregator tutorial (#751)
* fix: add helm repo instructions to vector aggregator tutorial * chore: fix for pre-commit lint
1 parent 8875707 commit 8a430f4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

modules/tutorials/examples/logging-aggregator/main.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ echo "Installing ZooKeeper Operator"
55
stackablectl release install -i secret -i commons -i listener -i zookeeper 23.11
66
# end::zk-op[]
77

8+
# tag::vector-helm-repo[]
9+
helm repo add vector https://helm.vector.dev
10+
helm repo update
11+
# end::vector-helm-repo[]
12+
813
# tag::vector-agg[]
914
helm install \
1015
--wait \
@@ -35,4 +40,4 @@ then
3540
echo "it worked"
3641
else
3742
echo "it didn't work"
38-
fi
43+
fi

modules/tutorials/pages/logging-vector-aggregator.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ include::example$logging-aggregator/vector-aggregator-values.yaml[]
3131
<1> define a source of `type` `vector` which listens to incoming log messages at port 6000.
3232
<2> define a `console` sink, logging all received logs to `stderr`.
3333

34+
Add the Vector Helm repository if you haven't done so already:
35+
36+
[source,bash]
37+
include::example$logging-aggregator/main.sh[tag=vector-helm-repo]
38+
3439
Deploy Vector with these values using Helm:
3540

3641
[source,bash]

0 commit comments

Comments
 (0)