From 18f14d4ec5750579ae76f56cfdc1e5e078bbb56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Tr=E1=BB=8Dng=20H=E1=BA=A3i?= <41283691+hainenber@users.noreply.github.com> Date: Thu, 23 Nov 2023 21:58:55 +0700 Subject: [PATCH] chore: rename doc ref of container.securityContext (#5808) Signed-off-by: hainenber --- operations/helm/charts/grafana-agent/CHANGELOG.md | 4 ++++ operations/helm/charts/grafana-agent/README.md | 8 ++++---- operations/helm/charts/grafana-agent/README.md.gotmpl | 8 ++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/operations/helm/charts/grafana-agent/CHANGELOG.md b/operations/helm/charts/grafana-agent/CHANGELOG.md index a664b5ef6598..26cc9a4948a6 100644 --- a/operations/helm/charts/grafana-agent/CHANGELOG.md +++ b/operations/helm/charts/grafana-agent/CHANGELOG.md @@ -10,6 +10,10 @@ internal API changes are not present. Unreleased ---------- +### Other changes + +- Update `container.securityContext` Helm value reference to renamed `agent.securityContext`. (@hainenber) + 0.28.0 (2023-11-21) ------------------- diff --git a/operations/helm/charts/grafana-agent/README.md b/operations/helm/charts/grafana-agent/README.md index d3e17c822582..d9d577e871d4 100644 --- a/operations/helm/charts/grafana-agent/README.md +++ b/operations/helm/charts/grafana-agent/README.md @@ -168,9 +168,9 @@ used. When provided, `agent.configMap.content` must hold a valid River configura [default-config]: ./config/example.river -### controller.securityContext +### agent.securityContext -`controller.securityContext` sets the securityContext passed to the Grafana +`agent.securityContext` sets the securityContext passed to the Grafana Agent container. By default, Grafana Agent containers are not able to collect telemetry from the @@ -241,7 +241,7 @@ This capability is disabled by default. To expose logs from other containers to Grafana Agent: * Set `agent.mounts.dockercontainers` to `true`. -* Set `controller.securityContext` to: +* Set `agent.securityContext` to: ```yaml privileged: true runAsUser: 0 @@ -256,7 +256,7 @@ To expose this information to Grafana Agent for telemetry collection: * Set `agent.mounts.dockercontainers` to `true`. * Mount `/proc` and `/sys` from the host into the container. -* Set `controller.securityContext` to: +* Set `agent.securityContext` to: ```yaml privileged: true runAsUser: 0 diff --git a/operations/helm/charts/grafana-agent/README.md.gotmpl b/operations/helm/charts/grafana-agent/README.md.gotmpl index fd34da2a962a..e9bbe8ece543 100644 --- a/operations/helm/charts/grafana-agent/README.md.gotmpl +++ b/operations/helm/charts/grafana-agent/README.md.gotmpl @@ -80,9 +80,9 @@ used. When provided, `agent.configMap.content` must hold a valid River configura [default-config]: ./config/example.river -### controller.securityContext +### agent.securityContext -`controller.securityContext` sets the securityContext passed to the Grafana +`agent.securityContext` sets the securityContext passed to the Grafana Agent container. By default, Grafana Agent containers are not able to collect telemetry from the @@ -153,7 +153,7 @@ This capability is disabled by default. To expose logs from other containers to Grafana Agent: * Set `agent.mounts.dockercontainers` to `true`. -* Set `controller.securityContext` to: +* Set `agent.securityContext` to: ```yaml privileged: true runAsUser: 0 @@ -168,7 +168,7 @@ To expose this information to Grafana Agent for telemetry collection: * Set `agent.mounts.dockercontainers` to `true`. * Mount `/proc` and `/sys` from the host into the container. -* Set `controller.securityContext` to: +* Set `agent.securityContext` to: ```yaml privileged: true runAsUser: 0