feat: add ability to ship k3s container logs via vector

If a global vector-sink property on the logs plugin is set, we will use that to configure a log sink (defaulting to console output otherwise). Note that the actual configuration still needs to be a valid DSN representing a Vector log sink.

While this does not support pinning log sinks to specific apps, it opens up integration for those who use a single k3s cluster in shared tenancy.
This commit is contained in:
Jose Diaz-Gonzalez committed 2025-04-14 04:35:21 -04:00
1 parent fa55f38258
commit b97e8f3601
9 files changed
+157 -54

No files matched your search

+8
View File
@@ -132,6 +132,14 @@ var HelmCharts = []HelmChart{
RepoURL: "https://kedacore.github.io/charts",
Version: "0.8.0",
},
{
ChartPath: "vector",
CreateNamespace: true,
Namespace: "vector",
ReleaseName: "vector",
RepoURL: "https://helm.vector.dev",
Version: "0.42.0",
},
}
type HelmRepository struct {