Skip to content

Commit

Permalink
feat: remove the grafana deprecated plugin (#3079)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandhyaRavi2403 authored Jan 30, 2025
1 parent a523f5f commit a9c1d9e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 58 deletions.
1 change: 0 additions & 1 deletion licenses.d2iq.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ignore:
- ghcr.io/mesosphere/dkp-container-images/docker.io/mesosphere/grafana-plugins:v0.0.1-d2iq.0
- docker.io/mesosphere/trivy-bundles:0.56.2-20241104T225447Z
- docker.io/library/alpine:3.20.3

Expand Down
15 changes: 0 additions & 15 deletions services/centralized-grafana/67.6.0/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,6 @@ data:
pspUseAppArmor: false
pspEnabled: false
# to avoid needing to download any plugins at runtime, use a container and a shared volume
# do not enable the plugins here, instead rebuild the mesosphere/grafana-plugins image with the new plugins
plugins: []
# - grafana-piechart-panel
extraEmptyDirMounts:
- name: plugins
mountPath: /var/lib/grafana/plugins/
extraInitContainers:
- name: grafana-plugins-install
image: ghcr.io/mesosphere/dkp-container-images/docker.io/mesosphere/grafana-plugins:v0.0.1-d2iq.0
command: ["/bin/sh", "-c", "cp -a /var/lib/grafana/plugins/. /var/lib/grafana/shared-plugins/"]
volumeMounts:
- name: plugins
mountPath: /var/lib/grafana/shared-plugins/
# Disable everything else
defaultRules:
create: false
Expand Down
14 changes: 0 additions & 14 deletions services/grafana-logging/8.8.5/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,3 @@ data:
rbac:
pspUseAppArmor: false
pspEnabled: false
# to avoid needing to download any plugins at runtime, use a container and a shared volume
# do not enable the plugins here, instead rebuild the mesosphere/grafana-plugins image with the new plugins
plugins: []
# - grafana-piechart-panel
extraEmptyDirMounts:
- name: plugins
mountPath: /var/lib/grafana/plugins/
extraInitContainers:
- name: grafana-plugins-install
image: ghcr.io/mesosphere/dkp-container-images/docker.io/mesosphere/grafana-plugins:v0.0.1-d2iq.0
command: ["/bin/sh", "-c", "cp -a /var/lib/grafana/plugins/. /var/lib/grafana/shared-plugins/"]
volumeMounts:
- name: plugins
mountPath: /var/lib/grafana/shared-plugins/
14 changes: 0 additions & 14 deletions services/kube-prometheus-stack/67.6.0/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,20 +429,6 @@ data:
failureThreshold: 10
rbac:
pspUseAppArmor: false
# to avoid needing to download any plugins at runtime, use a container and a shared volume
# do not enable the plugins here, instead rebuild the mesosphere/grafana-plugins image with the new plugins
plugins: []
# - grafana-piechart-panel
extraEmptyDirMounts:
- name: plugins
mountPath: /var/lib/grafana/plugins/
extraInitContainers:
- name: grafana-plugins-install
image: ghcr.io/mesosphere/dkp-container-images/docker.io/mesosphere/grafana-plugins:v0.0.1-d2iq.0
command: ["/bin/sh", "-c", "cp -a /var/lib/grafana/plugins/. /var/lib/grafana/shared-plugins/"]
volumeMounts:
- name: plugins
mountPath: /var/lib/grafana/shared-plugins/
kubeEtcd:
# enable grafana dashboard for etcd
enabled: true
Expand Down
14 changes: 0 additions & 14 deletions services/project-grafana-logging/8.8.5/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,3 @@ data:
namespaced: true
pspUseAppArmor: false
pspEnabled: false
# to avoid needing to download any plugins at runtime, use a container and a shared volume
# do not enable the plugins here, instead rebuild the mesosphere/grafana-plugins image with the new plugins
plugins: []
# - grafana-piechart-panel
extraEmptyDirMounts:
- name: plugins
mountPath: /var/lib/grafana/plugins/
extraInitContainers:
- name: grafana-plugins-install
image: ghcr.io/mesosphere/dkp-container-images/docker.io/mesosphere/grafana-plugins:v0.0.1-d2iq.0
command: ["/bin/sh", "-c", "cp -a /var/lib/grafana/plugins/. /var/lib/grafana/shared-plugins/"]
volumeMounts:
- name: plugins
mountPath: /var/lib/grafana/shared-plugins/

0 comments on commit a9c1d9e

Please sign in to comment.