Skip to content

SCHED-1456: Fix vmagent remotewrite in umbrella chart - #2672

Merged
Uburro merged 1 commit into
soperator-release-4.0from
SCHED-1576/2
Jul 1, 2026
Merged

Uburro merged 1 commit into
soperator-release-4.0from
SCHED-1576/2

Conversation

@Uburro

@Uburro Uburro commented Jul 1, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

vmagent received the Nebius o11y bearer token via a global -remoteWrite.bearerTokenFile arg, which vmagent applies to every remote-write URL. This leaked the token to other endpoints and blocked adding extra customer remote-write destinations with their own auth.

Solution

Use per-URL bearerTokenSecret for the o11y endpoint (secret kind) and an o11y-scoped positional bearerTokenFile (hostPath kind), so extra destinations can carry their own auth. Replaced the in-pod IMDS sidecar with a standalone tsa-token-writer (bedag raw HelmRelease) that maintains the o11y-writer-sa-token Secret from IMDS or a host file.

Testing

  • helm unittest 117/117, helm lint clean, full helm template for both token kinds and writer sources.
  • in live cluster

Release Notes

Feature: vmagent authenticates o11y remote-write via per-URL bearerTokenSecret, allowing extra remote-write destinations with independent auth; token Secret maintained by the new tsa-token-writer. Breaking: removed the vmagent IMDS sidecar and tsaTokenSidecar values — use publicEndpointTokenKind (secret/hostPath).

@Uburro Uburro added fix helm Functional changes in Helm charts labels Jul 1, 2026
@Uburro
Uburro marked this pull request as ready for review July 1, 2026 11:51
@Uburro
Uburro merged commit f28eabe into soperator-release-4.0 Jul 1, 2026
25 of 30 checks passed
@Uburro
Uburro deleted the SCHED-1576/2 branch July 1, 2026 12:14

This branch had an error being deployed

1 failed deployment
e2e — d1855e39 Deployed Jul 1, 2026 by Uburro via e2e-test #7360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix helm Functional changes in Helm charts

2 participants