mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 08:47:24 +08:00
[bitnami/grafana] add extraEnvVars for image-renderer (#8430)
Signed-off-by: Ioachim Lihor <ioachim.lihor@radcom.com> Co-authored-by: Ioachim Lihor <ioachim.lihor@radcom.com>
This commit is contained in:
@@ -24,4 +24,4 @@ name: grafana
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-grafana
|
||||
- https://grafana.com/
|
||||
version: 7.3.1
|
||||
version: 7.4.0
|
||||
|
||||
@@ -349,6 +349,7 @@ This solution allows to easily deploy multiple Grafana instances compared to the
|
||||
| `imageRenderer.nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `imageRenderer.nodeAffinityPreset.key` | Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `imageRenderer.nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `imageRenderer.extraEnvVars` | Array containing extra env vars to configure Grafana | `{}` |
|
||||
| `imageRenderer.affinity` | Affinity for pod assignment | `{}` |
|
||||
| `imageRenderer.resources.limits` | The resources limits for Grafana containers | `{}` |
|
||||
| `imageRenderer.resources.requests` | The requested resources for Grafana containers | `{}` |
|
||||
|
||||
@@ -90,6 +90,9 @@ spec:
|
||||
value: "::"
|
||||
- name: ENABLE_METRICS
|
||||
value: {{ ternary "true" "false" .Values.imageRenderer.metrics.enabled | quote }}
|
||||
{{- if .Values.imageRenderer.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.imageRenderer.extraEnvVars "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
||||
@@ -767,6 +767,13 @@ imageRenderer:
|
||||
## - e2e-az2
|
||||
##
|
||||
values: []
|
||||
## @param imageRenderer.extraEnvVars Array containing extra env vars to configure Grafana
|
||||
## For example:
|
||||
## extraEnvVars:
|
||||
## - name: GF_DEFAULT_INSTANCE_NAME
|
||||
## value: my-instance
|
||||
##
|
||||
extraEnvVars: {}
|
||||
## @param imageRenderer.affinity Affinity for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
||||
|
||||
Reference in New Issue
Block a user