Skip to content

Conversation

@Scrumplex
Copy link

@Scrumplex Scrumplex commented Oct 31, 2025

What this PR does / why we need it:

Since #19246 the sidecar image would resolve to <registry-mirror>/docker.io/kiwigrid/k8s-sidecar when a global registry mirror was defined.

This commit handles the registry properly, the same way as all the other docker hub images.

Which issue(s) this PR fixes:

Special notes for your reviewer:

I have tested this using helm template. Without a global registry the output is unchanged. With a global registry, it is now resolved properly.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

@Scrumplex Scrumplex requested a review from a team as a code owner October 31, 2025 11:56
@CLAassistant
Copy link

CLAassistant commented Oct 31, 2025

CLA assistant check
All committers have signed the CLA.

Since grafana#19246 the sidecar image would
resolve to registry-mirror.example.com/docker.io/kiwigrid/k8s-sidecar
when a global registry mirror was defined.

Signed-off-by: Sefa Eyeoglu <[email protected]>
@Scrumplex
Copy link
Author

I accidentally created this PR on the main branch. I'll reopen this PR

@Scrumplex Scrumplex closed this Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants