Skip to content

Commit

Permalink
Merge pull request percona#178 from percona/PMM-10805-1.24
Browse files Browse the repository at this point in the history
PMM-10805 Fixed secrets creation for service accounts for k8s 1.24+
  • Loading branch information
gen1us2k authored Oct 3, 2022
2 parents 9913555 + eb10356 commit 0c535f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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: 0.3.6
version: 0.3.7
appVersion: "2.31.0"
home: https://github.com/percona/pmm
maintainers:
Expand Down
10 changes: 10 additions & 0 deletions charts/pmm/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,14 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
secrets:
- name: {{ include "pmm.serviceAccountName" . }}-token
---
apiVersion: v1
kind: Secret
type: kubernetes.io/service-account-token
metadata:
name: {{ include "pmm.serviceAccountName" . }}-token
annotations:
kubernetes.io/service-account.name: {{ include "pmm.serviceAccountName" . }}
{{- end }}

0 comments on commit 0c535f1

Please sign in to comment.