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

Customize label and annotation for Grafana dashboards #43

Merged
merged 6 commits into from
Jun 27, 2021
Merged

Customize label and annotation for Grafana dashboards #43

merged 6 commits into from
Jun 27, 2021

Conversation

nlamirault
Copy link
Contributor

  • Add a feature to customize the label on the configmap to discover Grafana dashboards.
  • Add an annotation to support Grafana folder name into the configmap.

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
@fjogeleit fjogeleit self-requested a review June 26, 2021 19:19
# Annotation to enable folder storage using the k8s sidecar
annotation: grafana_folder
# Grafana folder in which to store the dashboards
name: kyverno
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that the primary use case of Policy Reporter is currently the combination with Kyverno but in its core, Policy Reporter Dashboards are useful for all Tools using the PolicyReport CRDs. So I would prefer to use a more generic default.

Suggested change
name: kyverno
name: Policy Reporter

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
charts/policy-reporter/Chart.yaml Outdated Show resolved Hide resolved
charts/policy-reporter/Chart.yaml Outdated Show resolved Hide resolved
@fjogeleit fjogeleit merged commit 548df26 into kyverno:main Jun 27, 2021
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 this pull request may close these issues.

2 participants