From a871c349f075218dba5bc5511d45c8e095f8f910 Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Mon, 16 Oct 2023 17:32:04 +0300 Subject: [PATCH] all: update version string everywhere for v0.37.2 (#5486) Signed-off-by: Paschalis Tsilias --- CHANGELOG.md | 17 ++++++++++++----- docs/sources/_index.md | 2 +- pkg/operator/defaults.go | 2 +- production/kubernetes/agent-bare.yaml | 2 +- production/kubernetes/agent-loki.yaml | 2 +- production/kubernetes/agent-traces.yaml | 2 +- .../kubernetes/build/lib/version.libsonnet | 2 +- .../build/templates/operator/main.jsonnet | 4 ++-- production/kubernetes/install-bare.sh | 2 +- .../operator/templates/agent-operator.yaml | 4 ++-- .../tanka/grafana-agent/v1/main.libsonnet | 4 ++-- .../grafana-agent/v2/internal/base.libsonnet | 4 ++-- .../grafana-agent/v2/internal/syncer.libsonnet | 2 +- tools/gen-versioned-files/agent-version.txt | 2 +- 14 files changed, 29 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a6b3c343730..f8f5289981d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,21 +29,28 @@ Main (unreleased) - Fixed an issue where `loki.process` validation for stage `metric.counter` was allowing invalid combination of configuration options. (@thampiotr) + +### Enhancements + +- The `loki.write` WAL now has snappy compression enabled by default. (@thepalbi) + +- Allow converting labels to structured metadata with Loki's structured_metadata stage. (@gonzalesraul) + +v0.37.2 (2023-10-16) +----------------- + +### Bugfixes - Fix the handling of the `--cluster.join-addresses` flag causing an invalid comparison with the mutually-exclusive `--cluster.discover-peers`. (@tpaschalis) - Fix an issue with the static to flow converter for blackbox exporter modules config not being included in the river output. (@erikbaranowski) - -### Enhancements -- The `loki.write` WAL now has snappy compression enabled by default. (@thepalbi) +### Enhancements - Update Prometheus dependency to v2.47.2. (@tpaschalis) -- Allow converting labels to structured metadata with Loki's structured_metadata stage. (@gonzalesraul) - - Allow Out of Order writing to the WAL for metrics. (@mattdurham) ### Other changes diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 49da949e752b..d693e70261d0 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -8,7 +8,7 @@ title: Grafana Agent description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector weight: 350 cascade: - AGENT_RELEASE: v0.37.1 + AGENT_RELEASE: v0.37.2 --- # Grafana Agent diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index 59ea98669a8c..789c867acecc 100644 --- a/pkg/operator/defaults.go +++ b/pkg/operator/defaults.go @@ -2,7 +2,7 @@ package operator // Supported versions of the Grafana Agent. var ( - DefaultAgentVersion = "v0.37.1" + DefaultAgentVersion = "v0.37.2" DefaultAgentBaseImage = "grafana/agent" DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion ) diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index 4a84a679ef92..a471e12915be 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -83,7 +83,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index 2550cd6a7571..e3f93ee35231 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -65,7 +65,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent-logs ports: diff --git a/production/kubernetes/agent-traces.yaml b/production/kubernetes/agent-traces.yaml index 1fb5501c8558..92d67e6528e3 100644 --- a/production/kubernetes/agent-traces.yaml +++ b/production/kubernetes/agent-traces.yaml @@ -114,7 +114,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent-traces ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index 3c0c2dc542fc..54c982231ef1 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.37.1' +'grafana/agent:v0.37.2' diff --git a/production/kubernetes/build/templates/operator/main.jsonnet b/production/kubernetes/build/templates/operator/main.jsonnet index 18c53173d526..1b27d4df15b3 100644 --- a/production/kubernetes/build/templates/operator/main.jsonnet +++ b/production/kubernetes/build/templates/operator/main.jsonnet @@ -23,8 +23,8 @@ local ksm = import 'kube-state-metrics/kube-state-metrics.libsonnet'; local this = self, _images:: { - agent: 'grafana/agent:v0.37.1', - agent_operator: 'grafana/agent-operator:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agent_operator: 'grafana/agent-operator:v0.37.2', ksm: 'registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.5.0', }, diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index ff06be34f772..c91dbe9392c2 100644 --- a/production/kubernetes/install-bare.sh +++ b/production/kubernetes/install-bare.sh @@ -25,7 +25,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.37.1 +MANIFEST_BRANCH=v0.37.2 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/operator/templates/agent-operator.yaml b/production/operator/templates/agent-operator.yaml index dc618b85099c..da54bde278bf 100644 --- a/production/operator/templates/agent-operator.yaml +++ b/production/operator/templates/agent-operator.yaml @@ -372,7 +372,7 @@ spec: containers: - args: - --kubelet-service=default/kubelet - image: grafana/agent-operator:v0.37.1 + image: grafana/agent-operator:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent-operator serviceAccount: grafana-agent-operator @@ -436,7 +436,7 @@ metadata: name: grafana-agent namespace: ${NAMESPACE} spec: - image: grafana/agent:v0.37.1 + image: grafana/agent:v0.37.2 integrations: selector: matchLabels: diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index 051e7a45e7b6..4b94562f59eb 100644 --- a/production/tanka/grafana-agent/v1/main.libsonnet +++ b/production/tanka/grafana-agent/v1/main.libsonnet @@ -15,8 +15,8 @@ local service = k.core.v1.service; (import './lib/traces.libsonnet') + { _images:: { - agent: 'grafana/agent:v0.37.1', - agentctl: 'grafana/agentctl:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agentctl: 'grafana/agentctl:v0.37.2', }, // new creates a new DaemonSet deployment of the grafana-agent. By default, diff --git a/production/tanka/grafana-agent/v2/internal/base.libsonnet b/production/tanka/grafana-agent/v2/internal/base.libsonnet index 553feb15012a..08f34634bf16 100644 --- a/production/tanka/grafana-agent/v2/internal/base.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/base.libsonnet @@ -11,8 +11,8 @@ function(name='grafana-agent', namespace='') { local this = self, _images:: { - agent: 'grafana/agent:v0.37.1', - agentctl: 'grafana/agentctl:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agentctl: 'grafana/agentctl:v0.37.2', }, _config:: { name: name, diff --git a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet index 633ae5d519fe..3f1f215d721f 100644 --- a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet @@ -14,7 +14,7 @@ function( ) { local _config = { api: error 'api must be set', - image: 'grafana/agentctl:v0.37.1', + image: 'grafana/agentctl:v0.37.2', schedule: '*/5 * * * *', configs: [], } + config, diff --git a/tools/gen-versioned-files/agent-version.txt b/tools/gen-versioned-files/agent-version.txt index 283d4a015533..c350e8f78a3f 100644 --- a/tools/gen-versioned-files/agent-version.txt +++ b/tools/gen-versioned-files/agent-version.txt @@ -1 +1 @@ -v0.37.1 \ No newline at end of file +v0.37.2