Skip to content
Open
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.5.1
version: 1.5.2
appVersion: "3.6.0"
home: https://github.com/percona/pmm
maintainers:
Expand Down
20 changes: 19 additions & 1 deletion charts/pmm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
optional: true
{{ if and (not .Values.secret.create) .Values.secret.name }}
- secretRef:
name: {{ .Values.secret.name }}
name: {{ .Values.secret.name }}
{{ end }}
env:
- name: PMM_INSTALL_METHOD
Expand All @@ -92,6 +92,24 @@ spec:
key: PMM_ADMIN_PASSWORD
optional: true
{{ end }}
{{ if .Values.secret.create }}
{{- if .Values.secret.GF_AUTH_GENERIC_OAUTH_CLIENT_ID }}
- name: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
valueFrom:
secretKeyRef:
name: {{ .Values.secret.name }}
key: GF_AUTH_GENERIC_OAUTH_CLIENT_ID
optional: true
{{- end }}
{{- if .Values.secret.GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET }}
- name: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ .Values.secret.name }}
key: GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET
optional: true
{{- end }}
{{ end }}
ports:
- name: http
containerPort: 8080
Expand Down