Skip to content

Commit

Permalink
PMM-7 Fix PMM Helm chart caused by recent changes (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Oct 25, 2024
1 parent 533a5b6 commit 3b4a2d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/pmm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pmm
description: A Helm chart for Percona Monitoring and Management (PMM)
type: application
version: 1.3.17
version: 1.3.18
appVersion: "2.43.1"
home: https://github.com/percona/pmm
maintainers:
Expand Down
14 changes: 7 additions & 7 deletions charts/pmm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,13 @@ spec:
- secretRef:
name: {{ .Values.secret.name }}
{{ end }}
# additional secrets that could be used for Grafana iDP
{{ if .Values.secret.create }}
env:
- name: PMM_INSTALL_METHOD
valueFrom:
fieldRef:
fieldPath: metadata.annotations['app.kubernetes.io/managed-by']
{{ if .Values.secret.create }}
# additional secrets that could be used for Grafana iDP
- name: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
Expand All @@ -83,11 +87,7 @@ spec:
name: {{ .Values.secret.name }}
key: PMM_ADMIN_PASSWORD
optional: true
{{ end }}
- name: PMM_INSTALL_METHOD
valueFrom:
fieldRef:
fieldPath: metadata.annotations['app.kubernetes.io/managed-by']
{{ end }}
ports:
- name: http
containerPort: 80
Expand Down

0 comments on commit 3b4a2d6

Please sign in to comment.