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
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
In some charts (e.g. coreos/kube-prometheus) a few resource is created in the "kube-system" namespace, and not in the release namespace.
helm-operatot logs this error:
ts=2018-08-17T12:56:44.566927601Z caller=release.go:296 component=release output="secret \"alertmanager-monitoring\" annotated\n[...]servicemonitor \"monitoring-prometheus\" annotated\nthe namespace from the provided object \"kube-system\" does not match the namespace \"monitoring\". You must pass '--namespace=kube-system' to perform this operation.\nthe namespace from the provided object \"kube-system\" does not match the namespace \"monitoring\". You must pass '--namespace=kube-system' to perform this operation.\nthe namespace from the provided object \"kube-system\" does not match the namespace \"monitoring\". You must pass '--namespace=kube-system' to perform this operation.\n" err="exit status 1"
Despite of this error, the release seems working fine.
The text was updated successfully, but these errors were encountered:
That looks like the annotator -- which is a kind of secondary system that runs around marking all the things that were created by a release -- is the bit that's failing. It won't affect the release itself, but it's noisy, and may affect whether other systems (e.g., Weave Cloud) get the right idea about the resources.
The fix would be to make sure the kubectl annotate invocation always uses the namespace given by the resource.
Same issue here. We are using prometheus-operator and our charts create a servicemonitor object in the same namespace as the prometheus-operator itself along with the resources needed by the chart's release.
I confirm, everything is created as expected but the error is not very clear as this is the expected behavior and should be safely ignored or not...
In some charts (e.g. coreos/kube-prometheus) a few resource is created in the "kube-system" namespace, and not in the release namespace.
helm-operatot logs this error:
Despite of this error, the release seems working fine.
The text was updated successfully, but these errors were encountered: