Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

- [ENHANCEMENT] Traces: Improved pod association in PromSD processor (@mapno)

# v0.21.2 (2021-12-08)

- [SECURITY] This release contains a fix for
[CVE-2021-41090](https://github.com/grafana/agent/security/advisories/GHSA-9c4x-5hgq-q3wh).

- [CHANGE] This release disables the existing `/-/config` and
`/agent/api/v1/configs/{name}` endpoitns by default. Pass the
`--config.enable-read-api` flag at the command line to opt in to these
endpoints.

# v0.21.1 (2021-11-18)

- [BUGFIX] Fix panic when using postgres_exporter integration (@saputradharma)
Expand Down Expand Up @@ -47,6 +57,18 @@

- [CHANGE] Traces: Changed service graphs store implementation to improve CPU performance (@mapno)

# v0.20.1 (2021-12-08)

*NOTE*: The fixes in this patch are only present in v0.20.1 and >=v0.21.2.

- [SECURITY] This release contains a fix for
[CVE-2021-41090](https://github.com/grafana/agent/security/advisories/GHSA-9c4x-5hgq-q3wh).

- [CHANGE] This release disables the existing `/-/config` and
`/agent/api/v1/configs/{name}` endpoitns by default. Pass the
`--config.enable-read-api` flag at the command line to opt in to these
endpoints.

# v0.20.0 (2021-10-28)

- [FEATURE] Operator: The Grafana Agent Operator can now generate a Kubelet
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/integrations/node-exporter-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ docker run \
-v "/proc:/host/proc:ro,rslave" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.21.1 \
grafana/agent:v0.21.2 \
--config.file=/etc/agent-config/agent.yaml
```

Expand Down Expand Up @@ -66,7 +66,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.21.1
- image: grafana/agent:v0.21.2
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration/integrations/process-exporter-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ docker run \
-v "/proc:/proc:ro" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.21.1 \
grafana/agent:v0.21.2 \
--config.file=/etc/agent-config/agent.yaml
```

Expand All @@ -35,7 +35,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.21.1
- image: grafana/agent:v0.21.2
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ See the list of [Community Projects](#community-projects) for the community-driv
docker run \
-v /tmp/agent:/etc/agent/data \
-v /path/to/config.yaml:/etc/agent/agent.yaml \
grafana/agent:v0.21.1
grafana/agent:v0.21.2
```

Replace `/tmp/agent` with the folder you wish to store WAL data in. WAL data is
Expand Down
2 changes: 1 addition & 1 deletion docs/operator/custom-resource-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ metadata:
labels:
app: grafana-agent
spec:
image: grafana/agent:v0.21.1
image: grafana/agent:v0.21.2
logLevel: info
serviceAccountName: grafana-agent
metrics:
Expand Down
2 changes: 1 addition & 1 deletion docs/operator/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
serviceAccountName: grafana-agent-operator
containers:
- name: operator
image: grafana/agent-operator:v0.21.1
image: grafana/agent-operator:v0.21.2
args:
- --kubelet-service=default/kubelet
---
Expand Down
10 changes: 10 additions & 0 deletions docs/upgrade-guide/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ releases and how to migrate to newer versions.

These changes will come in a future version.

## v0.21.2, v0.20.1

### Disabling of config retrieval enpoints

These two patch releases, as part of a fix for
[CVE-2021-41090](https://github.com/grafana/agent/security/advisories/GHSA-9c4x-5hgq-q3wh),
disable the `/-/config` and `/agent/api/v1/configs/{name}` endpoints by
default. Pass the `--config.enable-read-api` flag at the command line to
re-enable them.

## v0.21.0

### Integrations: Change in how instance labels are handled (Breaking change)
Expand Down
2 changes: 2 additions & 0 deletions pkg/operator/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ var (
"v0.18.4",
"v0.19.0",
"v0.20.0",
"v0.20.1",
"v0.21.0",
"v0.21.1",
"v0.21.2",

// NOTE(rfratto): when performing an upgrade, add the newest version above instead of changing the existing reference.
}
Expand Down
2 changes: 1 addition & 1 deletion production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ directory on your host that you want the agent to store its WAL.
docker run \
-v /tmp/agent:/etc/agent/data \
-v /path/to/config.yaml:/etc/agent/agent.yaml \
grafana/agent:v0.21.1
grafana/agent:v0.21.2
```

## Running the Agent locally
Expand Down
2 changes: 1 addition & 1 deletion production/grafanacloud-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PACKAGE_SYSTEM=${PACKAGE_SYSTEM:=}
#
# Global constants.
#
RELEASE_VERSION="0.21.1"
RELEASE_VERSION="0.21.2"

RELEASE_URL="https://github.com/grafana/agent/releases/download/v${RELEASE_VERSION}"
DEB_URL="${RELEASE_URL}/grafana-agent-${RELEASE_VERSION}-1.${ARCH}.deb"
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-bare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.21.1
image: grafana/agent:v0.21.2
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.21.1
image: grafana/agent:v0.21.2
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-traces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.21.1
image: grafana/agent:v0.21.2
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/build/lib/version.libsonnet
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'grafana/agent:v0.21.1'
'grafana/agent:v0.21.2'
2 changes: 1 addition & 1 deletion production/kubernetes/install-bare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ check_installed() {
check_installed curl
check_installed envsubst

MANIFEST_BRANCH=v0.21.1
MANIFEST_BRANCH=v0.21.2
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml}
NAMESPACE=${NAMESPACE:-default}

Expand Down
4 changes: 2 additions & 2 deletions production/tanka/grafana-agent/v1/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ local service = k.core.v1.service;
(import './lib/traces.libsonnet') +
{
_images:: {
agent: 'grafana/agent:v0.21.1',
agentctl: 'grafana/agentctl:v0.21.1',
agent: 'grafana/agent:v0.21.2',
agentctl: 'grafana/agentctl:v0.21.2',
},

// new creates a new DaemonSet deployment of the grafana-agent. By default,
Expand Down
4 changes: 2 additions & 2 deletions production/tanka/grafana-agent/v2/internal/base.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function(name='grafana-agent', namespace='') {
local this = self,

_images:: {
agent: 'grafana/agent:v0.21.1',
agentctl: 'grafana/agentctl:v0.21.1',
agent: 'grafana/agent:v0.21.2',
agentctl: 'grafana/agentctl:v0.21.2',
},
_config:: {
name: name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function(
) {
local _config = {
api: error 'api must be set',
image: 'grafana/agentctl:v0.21.1',
image: 'grafana/agentctl:v0.21.2',
schedule: '*/5 * * * *',
configs: [],
} + config,
Expand Down