Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-7 Fix PMM Helm chart caused by recent changes #396

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading