mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/grafana] extraSecretMounts support (#5630)
* [stable/grafana] extraSecretMounts support * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
9099b86101
commit
8a466d627a
@@ -1,5 +1,5 @@
|
||||
name: grafana
|
||||
version: 1.9.1
|
||||
version: 1.10.0
|
||||
appVersion: 5.1.2
|
||||
kubeVersion: "^1.8.0-0"
|
||||
description: The leading tool for querying and visualizing time series and metrics.
|
||||
|
||||
@@ -59,6 +59,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `schedulerName` | Alternate scheduler name | `nil` |
|
||||
| `env` | Extra environment variables passed to pods | `{}` |
|
||||
| `envFromSecret` | The name of a Kubenretes secret (must be manually created in the same namespace) containing values to be added to the environment | `""` |
|
||||
| `extraSecretMounts` | Additional grafana server secret mounts | `[]` |
|
||||
| `datasource` | Configure grafana datasources | `{}` |
|
||||
| `dashboardProviders` | Configure grafana dashboard providers | `{}` |
|
||||
| `dashboards` | Dashboards to import | `{}` |
|
||||
|
||||
@@ -46,6 +46,11 @@ spec:
|
||||
- name: storage
|
||||
mountPath: "/var/lib/grafana"
|
||||
subPath: {{ .Values.persistence.subPath }}
|
||||
{{- range .Values.extraSecretMounts }}
|
||||
- name: {{ .name }}
|
||||
mountPath: {{ .mountPath }}
|
||||
readOnly: {{ .readOnly }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
@@ -182,4 +187,9 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
{{- range .Values.extraSecretMounts }}
|
||||
- name: {{ .name }}
|
||||
secret:
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -107,6 +107,14 @@ env: {}
|
||||
## This can be useful for auth tokens, etc
|
||||
envFromSecret: ""
|
||||
|
||||
## Additional grafana server secret mounts
|
||||
# Defines additional mounts with secrets. Secrets must be manually created in the namespace.
|
||||
extraSecretMounts: []
|
||||
# - name: secret-files
|
||||
# mountPath: /etc/secrets
|
||||
# secretName: grafana-secret-files
|
||||
# readOnly: true
|
||||
|
||||
# Pass the plugins you want installed as a comma separated list.
|
||||
# plugins: "digrich-bubblechart-panel,grafana-clock-panel"
|
||||
plugins: ""
|
||||
|
||||
Reference in New Issue
Block a user