Skip to content

Commit

Permalink
fix(cilium-mixin): dashboards names in lowercase (#835)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault authored May 30, 2024
1 parent 5e640d0 commit 68b0329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/cilium-mixin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ keywords:
- cilium
- monitoring-mixin
- portefaix
version: 0.3.0
version: 0.3.1
appVersion: master

maintainers:
Expand All @@ -52,5 +52,5 @@ annotations:
fingerprint: C39918B3EBDE35C23B8D0B8E5F99269A6FCA437C
url: https://keybase.io/nlamirault/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: cilium-mixin vmaster
- kind: fixed
description: dashboards names in lowercase
4 changes: 2 additions & 2 deletions charts/cilium-mixin/templates/configmap-dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ items:
grafana-dashboard: {{ $dashboardName }}
{{- include "cilium-mixin.labels" $ | indent 6 }}
app.kubernetes.io/component: dashboard
name: {{ printf "dashboard-%s" $dashboardName | trunc 63 | trimSuffix "-" }}
name: {{ printf "dashboard-%s" $dashboardName | trunc 63 | trimSuffix "-" | lower }}
namespace: {{ include "cilium-mixin.namespace" $ }}
data:
{{ $dashboardName }}.json: |-
Expand All @@ -42,7 +42,7 @@ spec:
matchLabels:
{{- toYaml $.Values.grafanaDashboard.grafanaOperator.matchLabels | nindent 6 }}
configMapRef:
name: {{ printf "dashboard-%s" $dashboardName | trunc 63 | trimSuffix "-" }}
name: {{ printf "dashboard-%s" $dashboardName | trunc 63 | trimSuffix "-" | lower }}
key: {{ $dashboardName }}.json
{{- end }}
{{- end }}
Expand Down

0 comments on commit 68b0329

Please sign in to comment.