Skip to content

Commit

Permalink
Merge branch 'main' into am/update_ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
amontalban authored Jul 25, 2024
2 parents fa843d2 + 6ef2bd7 commit ed630cf
Show file tree
Hide file tree
Showing 37 changed files with 48 additions and 41 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal API changes are not present.
Main (unreleased)
-----------------

v0.42.0-rc.0 (2024-07-18)
v0.42.0 (2024-07-24)
-------------------------

### Security fixes
Expand Down
10 changes: 5 additions & 5 deletions docs/developer/release/3-update-version-in-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The project must be updated to reference the upcoming release tag whenever a new
3. Create a PR to merge to main (must be merged before continuing).
- Release Candidate example PR [here](https://github.com/grafana/agent/pull/3065)
- Stable Release example PR [here](https://github.com/grafana/agent/pull/3119)
- Patch Release example PR [here](https://github.com/grafana/agent/pull/3191)
- Stable Release example PR [here](https://github.com/grafana/agent/pull/6993)
- Patch Release example PR [here](https://github.com/grafana/agent/pull/6944)
4. If it doesn't exist yet, create a branch from `release-VERSION_PREFIX` for [grafana/agent](https://github.com/grafana/agent).
Expand All @@ -53,6 +53,6 @@ The project must be updated to reference the upcoming release tag whenever a new
6. Create a PR to merge to `release-VERSION_PREFIX` (must be merged before continuing).
- Release Candidate example PR [here](https://github.com/grafana/agent/pull/3066)
- Stable Release example PR [here](https://github.com/grafana/agent/pull/3123)
- Patch Release example PR [here](https://github.com/grafana/agent/pull/3193)
- The `CHANGELOG.md` was updated in cherry-pick commits prior for this example. Make sure it is all set on this PR.
- Stable Release example PR [here](https://github.com/grafana/agent/pull/6994)
- Patch Release example PR [here](https://github.com/grafana/agent/pull/6945)
- This PR takes a shortcut by both changing the version and cherry-picking other required changes on the release branch.
2 changes: 1 addition & 1 deletion docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Grafana Agent
description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector
weight: 350
cascade:
AGENT_RELEASE: v0.42.0-rc.0
AGENT_RELEASE: v0.42.0
OTEL_VERSION: v0.96.0
refs:
variants:
Expand Down
7 changes: 7 additions & 0 deletions operations/helm/charts/grafana-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ This document contains a historical list of changes between releases. Only
changes that impact end-user behavior are listed; changes to documentation or
internal API changes are not present.

0.42.0 (2024-07-24)
----------

### Enhancements

- Update Grafana Agent version to v0.42.0. (@ptodev)

0.41.0 (2024-06-07)
----------

Expand Down
4 changes: 2 additions & 2 deletions operations/helm/charts/grafana-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: grafana-agent
description: 'Grafana Agent'
type: application
version: 0.41.0
appVersion: 'v0.41.1'
version: 0.42.0
appVersion: 'v0.42.0'

dependencies:
- name: crds
Expand Down
2 changes: 1 addition & 1 deletion operations/helm/charts/grafana-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Grafana Agent Helm chart

![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.41.0](https://img.shields.io/badge/Version-0.41.0-informational?style=flat-square) ![AppVersion: v0.41.1](https://img.shields.io/badge/AppVersion-v0.41.1-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.42.0](https://img.shields.io/badge/Version-0.42.0-informational?style=flat-square) ![AppVersion: v0.42.0](https://img.shields.io/badge/AppVersion-v0.42.0-informational?style=flat-square)

Helm chart for deploying [Grafana Agent][] to Kubernetes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- name: global-cred
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: quay.io/grafana/agent:v0.41.1
image: quay.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
name: geoip
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: local-cred
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: quay.io/grafana/agent:v0.41.1
image: quay.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- -config.file=/etc/agent/config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
serviceAccountName: grafana-agent
containers:
- name: grafana-agent
image: docker.io/grafana/agent:v0.41.1
image: docker.io/grafana/agent:v0.42.0
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
2 changes: 1 addition & 1 deletion static/operator/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package operator

// Supported versions of the Grafana Agent.
var (
DefaultAgentVersion = "v0.42.0-rc.0"
DefaultAgentVersion = "v0.42.0"
DefaultAgentBaseImage = "grafana/agent"
DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion
)
Expand Down
2 changes: 1 addition & 1 deletion tools/gen-versioned-files/agent-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.42.0-rc.0
v0.42.0

0 comments on commit ed630cf

Please sign in to comment.