Skip to content

Commit

Permalink
grafana VM DS: do not check allow_loading_unsigned_plugins (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtatarin authored Jan 31, 2025
1 parent 8a95de3 commit 7e97e24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/victoria-metrics-k8s-stack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Next release

- TODO
- Grafana datasource: do not verify allow_loading_unsigned_plugins in k8s-stack

## 0.35.1

Expand Down
4 changes: 1 addition & 3 deletions charts/victoria-metrics-k8s-stack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,7 @@
{{- end }}
{{- end }}
{{- end }}
{{- $unsignedPlugins := ((index $grafana "grafana.ini").plugins).allow_loading_unsigned_plugins | default "" -}}
{{- $allowUnsigned := contains "victoriametrics-metrics-datasource" $unsignedPlugins -}}
{{- ternary "true" "" (and $isEnabled $allowUnsigned) -}}
{{- ternary "true" "" $isEnabled -}}
{{- else -}}
{{ "true" }}
{{- end }}
Expand Down

0 comments on commit 7e97e24

Please sign in to comment.