You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug a clear and concise description of what the bug is.
When using the following values.yaml file, some images (specifically prometheus in my case) are pulled from upstream registries instead of the internal registry:
global:
imageRegistry: registry.local/monitoring
The default prometheus instance's pod (within the stacks' namespace) pulls the image from the correct registry:
Client Version: v1.29.6 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.6
Which chart?
kube-prometheus-stack
What's the chart version?
59.1.0
What happened?
Prometheus instances that reside in a different namespace than the stack pull upstream prometheus images even when configured to pull them from an internal registry
What you expected to happen?
All prometheus instances in the cluster to pull all of their images from the internal registry configured in the custom values.yaml file
Describe the bug a clear and concise description of what the bug is.
When using the following values.yaml file, some images (specifically prometheus in my case) are pulled from upstream registries instead of the internal registry:
The default prometheus instance's pod (within the stacks' namespace) pulls the image from the correct registry:
However, instances in different namespaces still attempt to pull the upstream image:
After looking into the chart, and this template specifically: https://github.com/prometheus-community/helm-charts/blob/kube-prometheus-stack-59.1.0/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml#L88
I managed to workaround this issue by modifying my values.yaml file:
which I don't think is the desired behavior
What's your helm version?
version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}
What's your kubectl version?
Client Version: v1.29.6 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.6
Which chart?
kube-prometheus-stack
What's the chart version?
59.1.0
What happened?
Prometheus instances that reside in a different namespace than the stack pull upstream prometheus images even when configured to pull them from an internal registry
What you expected to happen?
All prometheus instances in the cluster to pull all of their images from the internal registry configured in the custom values.yaml file
How to reproduce it?
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: