Skip to content

Commit

Permalink
[prometheus-mysql-exporter] incorrect indentation in env variables, c…
Browse files Browse the repository at this point in the history
…loses #4724 (#4725)

Signed-off-by: Vadim Grek <[email protected]>
  • Loading branch information
brainiac84 authored Jul 24, 2024
1 parent 3251273 commit bc09595
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-mysql-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for prometheus mysql exporter with cloudsqlproxy
name: prometheus-mysql-exporter
version: 2.6.0
version: 2.6.1
home: https://github.com/prometheus/mysqld_exporter
appVersion: v0.15.1
sources:
Expand Down
16 changes: 8 additions & 8 deletions charts/prometheus-mysql-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ spec:
{{- end }}
env:
{{- if (.Values.resources.limits).cpu }}
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
resource: limits.cpu
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
resource: limits.cpu
{{- end }}
{{- if (.Values.resources.limits).memory }}
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
resource: limits.memory
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
resource: limits.memory
{{- end }}
{{- if and (not .Values.mysql.existingConfigSecret.name) (.Values.mysql.existingPasswordSecret.name) }}
- name: MYSQLD_EXPORTER_PASSWORD
Expand Down

0 comments on commit bc09595

Please sign in to comment.