Skip to content

Commit

Permalink
replace RC version with SR version (#3119) (#3123)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2c75566)
  • Loading branch information
erikbaranowski authored Feb 28, 2023
1 parent 34e7564 commit 4cb0945
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 29 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ internal API changes are not present.
> **NOTE**: As of v0.32.0, builds for 32-bit ARMv6 currently don't support the
> embedded Flow UI. The Flow UI will return to this target as soon as possible.
Main (unreleased)
-----------------

v0.32.0-rc.0 (2023-02-23)
-------------------------
v0.32.0 (2023-02-28)
--------------------

### Breaking changes

Expand Down
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.32.0-rc.0 \
grafana/agent:v0.32.0 \
--config.file=/etc/agent-config/agent.yaml
```

Expand Down Expand Up @@ -65,7 +65,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.32.0-rc.0
- image: grafana/agent:v0.32.0
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
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.32.0-rc.0 \
grafana/agent:v0.32.0 \
--config.file=/etc/agent-config/agent.yaml
```

Expand All @@ -35,7 +35,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.32.0-rc.0
- image: grafana/agent:v0.32.0
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operator/deploy-agent-operator-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To deploy the `GrafanaAgent` resource:
labels:
app: grafana-agent
spec:
image: grafana/agent:v0.32.0-rc.0
image: grafana/agent:v0.32.0
logLevel: info
serviceAccountName: grafana-agent
metrics:
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operator/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To install Agent Operator:
serviceAccountName: grafana-agent-operator
containers:
- name: operator
image: grafana/agent-operator:v0.32.0-rc.0
image: grafana/agent-operator:v0.32.0
args:
- --kubelet-service=default/kubelet
---
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/set-up/install-agent-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Install Grafana Agent and get it up and running on Docker.
docker run \
-v /tmp/agent:/etc/agent/data \
-v /path/to/config.yaml:/etc/agent/agent.yaml \
grafana/agent:v0.32.0-rc.0
grafana/agent:v0.32.0
```

2. Replace `/tmp/agent` with the folder you want to store WAL data in.
Expand All @@ -38,7 +38,7 @@ container through a bind mount for the flags to work properly.
docker run ^
-v c:\grafana-agent-data:c:\etc\grafana-agent\data ^
-v c:\workspace\config\grafana-agent:c:\etc\grafana-agent ^
grafana/agent:v0.32.0-rc.0-windows
grafana/agent:v0.32.0-windows
```
2. Replace `c:\grafana-agent-data` with the folder you want to store WAL data in.
Expand Down
2 changes: 1 addition & 1 deletion pkg/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.32.0-rc.0"
DefaultAgentVersion = "v0.32.0"
DefaultAgentBaseImage = "grafana/agent"
DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion
)
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="v0.32.0-rc.0"
RELEASE_VERSION="v0.32.0"

# The DEB and RPM urls don't include the `v` version prefix in the file names,
# so we trim it out using ${RELEASE_VERSION#v} below.
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 @@ -83,7 +83,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.32.0-rc.0
image: grafana/agent:v0.32.0
imagePullPolicy: IfNotPresent
name: grafana-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 @@ -65,7 +65,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.32.0-rc.0
image: grafana/agent:v0.32.0
imagePullPolicy: IfNotPresent
name: grafana-agent-logs
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 @@ -114,7 +114,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.32.0-rc.0
image: grafana/agent:v0.32.0
imagePullPolicy: IfNotPresent
name: grafana-agent-traces
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.32.0-rc.0'
'grafana/agent:v0.32.0'
4 changes: 2 additions & 2 deletions production/kubernetes/build/templates/operator/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ local ksm = import 'kube-state-metrics/kube-state-metrics.libsonnet';
local this = self,

_images:: {
agent: 'grafana/agent:v0.32.0-rc.0',
agent_operator: 'grafana/agent-operator:v0.32.0-rc.0',
agent: 'grafana/agent:v0.32.0',
agent_operator: 'grafana/agent-operator:v0.32.0',
ksm: 'registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.5.0',
},

Expand Down
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.32.0-rc.0
MANIFEST_BRANCH=v0.32.0
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/operator/templates/agent-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ spec:
containers:
- args:
- --kubelet-service=default/kubelet
image: grafana/agent-operator:v0.32.0-rc.0
image: grafana/agent-operator:v0.32.0
imagePullPolicy: IfNotPresent
name: grafana-agent-operator
serviceAccount: grafana-agent-operator
Expand Down Expand Up @@ -436,7 +436,7 @@ metadata:
name: grafana-agent
namespace: ${NAMESPACE}
spec:
image: grafana/agent:v0.32.0-rc.0
image: grafana/agent:v0.32.0
integrations:
selector:
matchLabels:
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.32.0-rc.0',
agentctl: 'grafana/agentctl:v0.32.0-rc.0',
agent: 'grafana/agent:v0.32.0',
agentctl: 'grafana/agentctl:v0.32.0',
},

// 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 @@ -11,8 +11,8 @@ function(name='grafana-agent', namespace='') {
local this = self,

_images:: {
agent: 'grafana/agent:v0.32.0-rc.0',
agentctl: 'grafana/agentctl:v0.32.0-rc.0',
agent: 'grafana/agent:v0.32.0',
agentctl: 'grafana/agentctl:v0.32.0',
},
_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.32.0-rc.0',
image: 'grafana/agentctl:v0.32.0',
schedule: '*/5 * * * *',
configs: [],
} + config,
Expand Down

0 comments on commit 4cb0945

Please sign in to comment.