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(grafana): move configmaps to provisioning directory #2766

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

jazzlyn
Copy link
Collaborator

@jazzlyn jazzlyn commented Apr 3, 2024

No description provided.

Copy link

sonarqubecloud bot commented Apr 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jazzlyn jazzlyn merged commit 5231068 into main Apr 3, 2024
11 checks passed
@jazzlyn jazzlyn deleted the feature/grafana-configmaps-refinement branch April 3, 2024 21:22
@tyriis-automation
Copy link
Contributor

--- kubernetes/talos-flux/apps/observability/grafana/app Kustomization: flux-system/apps-grafana HelmRelease: observability/grafana

+++ kubernetes/talos-flux/apps/observability/grafana/app Kustomization: flux-system/apps-grafana HelmRelease: observability/grafana

@@ -46,23 +46,23 @@

       GF_PANELS_DISABLE_SANITIZE_HTML: 'true'
       TZ: ${SETTING_TZ}
     envFromSecrets:
     - name: grafana-env
     extraConfigmapMounts:
     - configMap: grafana-contactpoints
-      mountPath: /etc/grafana/alerting/contactpoints.yaml
+      mountPath: /etc/grafana/provisioning/alerting/contactpoints.yaml
       name: grafana-contactpoints
       readOnly: true
       subPath: contactpoints.yaml
     - configMap: grafana-datasources
-      mountPath: /etc/grafana/datasources/datasources.yaml
+      mountPath: /etc/grafana/provisioning/datasources/datasources.yaml
       name: grafana-datasources
       readOnly: true
       subPath: datasources.yaml
     - configMap: grafana-policies
-      mountPath: /etc/grafana/alerting/policies.yaml
+      mountPath: /etc/grafana/provisioning/alerting/policies.yaml
       name: grafana-policies
       readOnly: true
       subPath: policies.yaml
     grafana.ini:
       auth.google:
         allow_sign_up: true

@tyriis-automation
Copy link
Contributor

--- HelmRelease: observability/grafana Deployment: observability/grafana

+++ HelmRelease: observability/grafana Deployment: observability/grafana

@@ -147,21 +147,21 @@

             type: RuntimeDefault
         volumeMounts:
         - name: config
           mountPath: /etc/grafana/grafana.ini
           subPath: grafana.ini
         - name: grafana-contactpoints
-          mountPath: /etc/grafana/alerting/contactpoints.yaml
+          mountPath: /etc/grafana/provisioning/alerting/contactpoints.yaml
           subPath: contactpoints.yaml
           readOnly: true
         - name: grafana-datasources
-          mountPath: /etc/grafana/datasources/datasources.yaml
+          mountPath: /etc/grafana/provisioning/datasources/datasources.yaml
           subPath: datasources.yaml
           readOnly: true
         - name: grafana-policies
-          mountPath: /etc/grafana/alerting/policies.yaml
+          mountPath: /etc/grafana/provisioning/alerting/policies.yaml
           subPath: policies.yaml
           readOnly: true
         - name: storage
           mountPath: /var/lib/grafana
         - name: sc-dashboard-volume
           mountPath: /tmp/dashboards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant