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
dce-addon/insight-agent chart has repeated operator.insight.io/managed-by field in template charts/kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml
#48
Open
DonaldKellett opened this issue
Nov 7, 2023
· 1 comment
dce-addon/insight-agent chart has repeated operator.insight.io/managed-by field in template charts/kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml which causes HelmRelease reconciliation failures with Flux v2 as shown in the screenshot below:
In the YAML block with source charts/kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml, observe a duplicate operator.insight.io/managed-by field:
On further inspection, it seems this issue occurs in multiple files servicemonitor.yaml under charts/kube-prometheus-stack/templates/exporters/ likely due to a common cause.
dce-addon/insight-agent
chart has repeatedoperator.insight.io/managed-by
field in templatecharts/kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml
which causes HelmRelease reconciliation failures with Flux v2 as shown in the screenshot below:Chart details
dce-addon
(https://release.daocloud.io/chartrepo/addon
)insight-agent
0.21.1
(affects0.19.x
as well)Steps to reproduce
Unfortunately, it appears some templates rely on data from the running cluster so
helm template
doesn't work.Install DCE5 Community with
dce5-installer
according to the official instructions, then run:helm -n insight-system get manifest insight-agent > insight-agent.yaml.txt
Now inspect the output of the command in
insight-agent.yaml.txt
(attached below).insight-agent.yaml.txt
In the YAML block with source
charts/kube-prometheus-stack/templates/exporters/core-dns/servicemonitor.yaml
, observe a duplicateoperator.insight.io/managed-by
field:For reference, here is the
values.yaml
file used (password REDACTED for security reasons):The text was updated successfully, but these errors were encountered: