Skip to content

Commit d1ebc71

Browse files
Remove symbolic links to old binary names (#3628) (#3631)
Signed-off-by: Paschalis Tsilias <[email protected]> (cherry picked from commit 397aa21) Co-authored-by: Paschalis Tsilias <[email protected]>
1 parent deb35bc commit d1ebc71

File tree

7 files changed

+27
-5
lines changed

7 files changed

+27
-5
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ v0.33.0-rc.0 (2023-04-20)
3939
- Agent Management: `agent_management.remote_config_cache_location` config field has been replaced by
4040
`agent_management.remote_configuration.cache_location`. (@jcreixell)
4141

42+
- Remove deprecated symbolic links to to `/bin/agent*` in Docker containers,
43+
as planned in v0.31. (@tpaschalis)
44+
4245
### Deprecations
4346

4447
- [Dynamic Configuration](https://grafana.com/docs/agent/latest/cookbook/dynamic-configuration/) will be removed in v0.34. Grafana Agent Flow supersedes this functionality. (@mattdurham)

cmd/grafana-agent-operator/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ RUN <<EOF
3434
EOF
3535

3636
COPY --from=build /src/agent/build/grafana-agent-operator /bin/grafana-agent-operator
37-
RUN ln -sv /bin/grafana-agent-operator /bin/agent-operator
3837
ENTRYPOINT ["/bin/grafana-agent-operator"]

cmd/grafana-agent/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ EOF
4343
COPY --from=build /src/agent/build/grafana-agent /bin/grafana-agent
4444
COPY cmd/grafana-agent/agent-local-config.yaml /etc/agent/agent.yaml
4545

46-
RUN ln -sv /bin/grafana-agent /bin/agent
4746

4847
ENTRYPOINT ["/bin/grafana-agent"]
4948
CMD ["--config.file=/etc/agent/agent.yaml", "--metrics.wal-directory=/etc/agent/data"]

cmd/grafana-agentctl/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ RUN <<EOF
3535
EOF
3636

3737
COPY --from=build /src/agent/build/grafana-agentctl /bin/grafana-agentctl
38-
RUN ln -sv /bin/grafana-agentctl /bin/agentctl
39-
ENTRYPOINT ["/bin/agentctl"]
38+
ENTRYPOINT ["/bin/grafana-agentctl"]

docs/sources/flow/upgrade-guide.md

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Grafana Agent Flow.
1818
> [upgrade-guide-static]: {{< relref "../static/upgrade-guide.md" >}}
1919
> [upgrade-guide-operator]: {{< relref "../operator/upgrade-guide.md" >}}
2020
21+
## v0.33.0
22+
23+
### Symbolic links in Docker containers removed
24+
25+
We've removed the deprecated symbolic links to `/bin/agent*` in Docker
26+
containers, as planned in v0.31. In case you're setting a custom entrypoint,
27+
use the new binaries that are prefixed with `/bin/grafana*`.
28+
2129
## v0.32.0
2230

2331
### Breaking change: `http_client_config` Flow blocks merged with parent blocks

docs/sources/operator/upgrade-guide.md

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Static mode Kubernetes operator.
1818
> [upgrade-guide-static]: {{< relref "../static/upgrade-guide.md" >}}
1919
> [upgrade-guide-flow]: {{< relref "../flow/upgrade-guide.md" >}}
2020
21+
## v0.33.0
22+
23+
### Symbolic links in Docker containers removed
24+
25+
We've removed the deprecated symbolic links to `/bin/agent*` in Docker
26+
containers, as planned in v0.31. In case you're setting a custom entrypoint,
27+
use the new binaries that are prefixed with `/bin/grafana*`.
28+
2129
## v0.31.0
2230

2331
### Breaking change: binary names are now prefixed with `grafana-`

docs/sources/static/upgrade-guide.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ static mode.
1919
> [upgrade-guide-operator]: {{< relref "../operator/upgrade-guide.md" >}}
2020
> [upgrade-guide-flow]: {{< relref "../flow/upgrade-guide.md" >}}
2121
22-
## v0.33
22+
## v0.33.0
23+
24+
### Symbolic links in Docker containers removed
25+
26+
We've removed the deprecated symbolic links to `/bin/agent*` in Docker
27+
containers, as planned in v0.31. In case you're setting a custom entrypoint,
28+
use the new binaries that are prefixed with `/bin/grafana*`.
2329

2430
### Deprecation of Dynamic Configuration
2531

0 commit comments

Comments
 (0)