From ffdaa31c6b0afc6d34399cc2ed47fb409b774d89 Mon Sep 17 00:00:00 2001 From: Derek Date: Sat, 14 Nov 2026 08:22:45 +1100 Subject: [PATCH] docs(versions): point the Vector pin examples at VECTOR_VERSION internals.md copied the Vector version into its config and Dockerfile examples. Both examples now take a placeholder. VECTOR_VERSION in src/deployment.rs is the one pin. emit-dockerfile replaces the placeholder with its value. The config comment names that constant. --- docs/internals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internals.md b/docs/internals.md index 0dc1aaa..1591ad3 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -460,7 +460,7 @@ The wrapper's config declares a **pinned Vector version**: ```yaml vector: - version: "0.61.0" # Expected version + version: "" # Expected version, default deployment::VECTOR_VERSION version_check: warn # strict | warn | disabled binary: /usr/local/bin/vector ``` @@ -501,7 +501,7 @@ Dockerfile copies it into the runtime image alongside the Vector binary. ```dockerfile # Runtime image — CI builds the wrapper binary externally FROM debian:trixie-slim -ARG VECTOR_VERSION=0.61.0 +ARG VECTOR_VERSION= ARG TARGETARCH # Wrapper binary (built by CI, copied in)