Skip to content

Commit

Permalink
Fix cross-namespace dhasboard import
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed May 9, 2024
1 parent 1b5a9fe commit e68a031
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/prometheusexporter/templates/grafanadashboard.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ metadata:
{% endif %}
spec:
{% if grafana_dashboard_api_version == "v1beta1" %}
allowCrossNamespaceImport: true
instanceSelector:
matchLabels:
"{{ grafana_dashboard.label.key | default(grafana_dashboard_label_key) }}": "{{ grafana_dashboard.label.value | default(grafana_dashboard_label_value) }}"
Expand Down

0 comments on commit e68a031

Please sign in to comment.