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

fix(kube-prometheus-stack): put dashboards in Kubernetes folder #212

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

martinohmann
Copy link
Owner

No description provided.

@github-actions github-actions bot added the area/kubernetes Changes made in the kubernetes directory label Jan 9, 2024
Copy link

github-actions bot commented Jan 9, 2024

--- kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/kube-prometheus-stack HelmRelease: monitoring/kube-prometheus-stack

+++ kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/kube-prometheus-stack HelmRelease: monitoring/kube-prometheus-stack

@@ -21,12 +21,27 @@

     namespace: longhorn-system
   install:
     remediation:
       retries: 3
   interval: 30m
   maxHistory: 2
+  postRenderers:
+  - kustomize:
+      patches:
+      - patch: |-
+          apiVersion: v1
+          kind: ConfigMap
+          metadata:
+            name: not-used
+            namespace: not-used
+            annotations:
+              grafana_folder: Kubernetes
+        target:
+          kind: ConfigMap
+          labelSelector: grafana_dashboard in (1)
+          version: v1
   timeout: 15m
   uninstall:
     keepHistory: false
   upgrade:
     cleanupOnFail: true
     remediation:

@martinohmann martinohmann merged commit 3686dde into main Jan 9, 2024
4 checks passed
@martinohmann martinohmann deleted the kube-prometheus-stack/dashboard-folder branch January 9, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant