From 588aa72042231b1679439f2e177b7bab458afe9c Mon Sep 17 00:00:00 2001 From: dervoeti Date: Fri, 20 Jun 2025 14:05:45 +0200 Subject: [PATCH 1/2] fix: add helm repo instructions to vector aggregator tutorial --- modules/tutorials/examples/logging-aggregator/main.sh | 5 +++++ modules/tutorials/pages/logging-vector-aggregator.adoc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/modules/tutorials/examples/logging-aggregator/main.sh b/modules/tutorials/examples/logging-aggregator/main.sh index 98c2d9e5b..8b92ecf20 100755 --- a/modules/tutorials/examples/logging-aggregator/main.sh +++ b/modules/tutorials/examples/logging-aggregator/main.sh @@ -5,6 +5,11 @@ echo "Installing ZooKeeper Operator" stackablectl release install -i secret -i commons -i listener -i zookeeper 23.11 # end::zk-op[] +# tag::vector-helm-repo[] +helm repo add vector https://helm.vector.dev +helm repo update +# end::vector-helm-repo[] + # tag::vector-agg[] helm install \ --wait \ diff --git a/modules/tutorials/pages/logging-vector-aggregator.adoc b/modules/tutorials/pages/logging-vector-aggregator.adoc index 0e436f6df..2d78c7a46 100644 --- a/modules/tutorials/pages/logging-vector-aggregator.adoc +++ b/modules/tutorials/pages/logging-vector-aggregator.adoc @@ -31,6 +31,11 @@ include::example$logging-aggregator/vector-aggregator-values.yaml[] <1> define a source of `type` `vector` which listens to incoming log messages at port 6000. <2> define a `console` sink, logging all received logs to `stderr`. +Add the Vector Helm repository if you haven't done so already: + +[source,bash] +include::example$logging-aggregator/main.sh[tag=vector-helm-repo] + Deploy Vector with these values using Helm: [source,bash] From bcbbb2e85843e888d20a43f950d21c9b5840b738 Mon Sep 17 00:00:00 2001 From: dervoeti Date: Fri, 20 Jun 2025 14:18:15 +0200 Subject: [PATCH 2/2] chore: fix for pre-commit lint --- modules/tutorials/examples/logging-aggregator/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tutorials/examples/logging-aggregator/main.sh b/modules/tutorials/examples/logging-aggregator/main.sh index 8b92ecf20..847f79ab2 100755 --- a/modules/tutorials/examples/logging-aggregator/main.sh +++ b/modules/tutorials/examples/logging-aggregator/main.sh @@ -40,4 +40,4 @@ then echo "it worked" else echo "it didn't work" -fi \ No newline at end of file +fi