Skip to content

Commit

Permalink
Merge pull request #234 from mkatana-silkycoders/add-extraVolumes-ext…
Browse files Browse the repository at this point in the history
…raVolumeMounts

Add extra volumes extra volume mounts
  • Loading branch information
gen1us2k authored Sep 14, 2023
2 parents 7c312ed + 9f45ce3 commit 4ec6122
Show file tree
Hide file tree
Showing 3 changed files with 14 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: 1.2.5
version: 1.3.0
appVersion: "2.39.0"
home: https://github.com/percona/pmm
maintainers:
Expand Down
6 changes: 6 additions & 0 deletions charts/pmm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ spec:
mountPath: /srv/nginx
readOnly: true
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
volumes:
- name: annotations
projected:
Expand All @@ -121,6 +124,9 @@ spec:
secretName: {{ .Values.certs.name }}
optional: false
{{- end }}
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
volumeClaimTemplates:
- metadata:
name: {{ .Values.storage.name }}
Expand Down
7 changes: 7 additions & 0 deletions charts/pmm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,10 @@ tolerations: []
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}

## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts
##
extraVolumeMounts: []
## @param extraVolumes Optionally specify extra list of additional volumes
##
extraVolumes: []

0 comments on commit 4ec6122

Please sign in to comment.