Skip to content

Commit

Permalink
Change mount directory of ConfigMaps
Browse files Browse the repository at this point in the history
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
  • Loading branch information
Warashi committed Aug 2, 2024
1 parent 6061daa commit 0ce5f68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions manifests/pipecd/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
{{- include "pipecd.labels" . | nindent 4 }}
grafana_dashboard: "1"
annotations:
k8s-sidecar-target-directory: "/tmp/dashboards/cluster"
k8s-sidecar-target-directory: "/tmp/dashboards/Cluster"
data:
{{ range $path, $_ := .Files.Glob "grafana-dashboards/cluster/**.json" }}
{{ trimPrefix "grafana-dashboards/cluster/" $path | nindent 2 }}: |-
Expand All @@ -39,7 +39,7 @@ metadata:
{{- include "pipecd.labels" . | nindent 4 }}
grafana_dashboard: "1"
annotations:
k8s-sidecar-target-directory: "/tmp/dashboards/control-plane"
k8s-sidecar-target-directory: "/tmp/dashboards/Control-Plane"
data:
{{ range $path, $_ := .Files.Glob "grafana-dashboards/control-plane/**.json" }}
{{ trimPrefix "grafana-dashboards/control-plane/" $path | nindent 2 }}: |-
Expand All @@ -55,7 +55,7 @@ metadata:
{{- include "pipecd.labels" . | nindent 4 }}
grafana_dashboard: "1"
annotations:
k8s-sidecar-target-directory: "/tmp/dashboards/piped"
k8s-sidecar-target-directory: "/tmp/dashboards/Piped"
data:
{{ range $path, $_ := .Files.Glob "grafana-dashboards/piped/**.json" }}
{{ trimPrefix "grafana-dashboards/piped/" $path | nindent 2 }}: |-
Expand Down
6 changes: 3 additions & 3 deletions manifests/pipecd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,23 +241,23 @@ grafana:
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/cluster
path: /tmp/dashboards/Cluster
- name: 'Control-Plane'
orgId: 1
folder: 'Control-Plane'
type: file
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/control-plane
path: /tmp/dashboards/Control-Plane
- name: 'Piped'
orgId: 1
folder: 'Piped'
type: file
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/piped
path: /tmp/dashboards/Piped

opentelemetry-collector:
mode: "deployment"
Expand Down

0 comments on commit 0ce5f68

Please sign in to comment.