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

feat(helm): do not set default labels for Grafana dashboards #241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nlamirault
Copy link
Contributor

@nlamirault nlamirault commented Sep 4, 2024

i would to add only one label for Grafana dashboards. I set values like that:

grafanaOperator:
      enabled: true
      allowCrossNamespaceImport: true
      matchLabels:
        grafana.com/dashboards: xxxxx

but in generated manifest i've got :

apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  labels:
    ....
  name: dragonfly-operator-grafana-dashboard
  namespace: database
spec:
  ...
  instanceSelector:
    matchLabels:
      dashboards: grafana
      grafana.com/dashboards: xxx

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.

1 participant