Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't update grafana helmchart to version 6.44.9 from 6.43.5 using flux2 #2019

Closed
mo-saeed opened this issue Nov 29, 2022 · 3 comments · Fixed by #2045
Closed

can't update grafana helmchart to version 6.44.9 from 6.43.5 using flux2 #2019

mo-saeed opened this issue Nov 29, 2022 · 3 comments · Fixed by #2045

Comments

@mo-saeed
Copy link

Hi,

flux2 is not able to upgrade the upgrade of the helmchart from 6.43.5 to 6.44.9 receiving this issue in the flux2 helmrelease

 parse error at (grafana/templates/deployment.yaml:1): function "grafana" not defined

not sure what's the issue but maybe it's known issue.

@mo-saeed mo-saeed changed the title can't update to version 6.44.9 from 6.43.5 using flux2 can't update grafana helmchart to version 6.44.9 from 6.43.5 using flux2 Nov 29, 2022
@muhlba91
Copy link
Contributor

muhlba91 commented Dec 2, 2022

same here using helm template with custom values.

the error helm gives is:

Error: template: grafana/charts/grafana/templates/deployment.yaml:49:10: executing "grafana/charts/grafana/templates/deployment.yaml" at <include "grafana.pod" .>: error calling include: template: grafana/charts/grafana/templates/_pod.tpl:566:19: executing "grafana.pod" at <tpl (. | join ",") $root>: error calling tpl: error during tpl function execution for "map[Capabilities:0x140006b61b0 Chart:{{grafana https://grafana.net [https://github.com/grafana/grafana] 6.45.0 The leading tool for querying and visualizing time series and metrics. []
... (lots of hex values)

@muhlba91
Copy link
Contributor

muhlba91 commented Dec 5, 2022

@mo-saeed do you have the notifiers sidecar enabled?

the error i had was related to the searchNamespace of the notifiers sidecar. once i disabled this sidecar it started working.
i don‘t use those, so it wasn‘t a problem for me.

as far as i can tell the interpolation for notifiers‘ searchNamespace is not correct after the update -> seems like no one is using these. ^^

i‘ll try to find some time to fix this interpolation and create a PR.

@ikogan
Copy link

ikogan commented Dec 6, 2022

I'm getting this when trying to do a standard helm install, no flux. It does look like it's indeed a duplicate of #2044. I'm using the sidecar for dashboards actively and wanted to start using it for notifiers as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants