Skip to content

Commit d0a440e

Browse files
authored
s/customConfig/extraConfig/ in templates (#72)
1 parent eebd750 commit d0a440e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ Dashboards are provisioned directly from CRDs, which means any manual edits will
207207
| grafana.credentials.adminPassword | string | `"admin"` | Grafana admin password. Change from default for production environments. |
208208
| grafana.credentials.adminUser | string | `"admin"` | Grafana admin username. |
209209
| grafana.credentials.existingSecretName | string | `""` | Name of an existing secret for Grafana credentials. Leave empty to create a new secret. |
210-
| grafana.customConfig | string | `""` | Add any custom Grafana configurations you require here. This should be a YAML-formatted string of additional settings for Grafana. |
211210
| grafana.dashboards.jsonDirectory | string | `"dashboards"` | The directory containing JSON files for Grafana dashboards. |
212211
| grafana.datasource.jsonData.timeInterval | string | `"5s"` | The time interval for Grafana to poll Prometheus. Specifies the frequency of data requests. |
213212
| grafana.enabled | string | `"-"` | |
213+
| grafana.extraConfig | string | `""` | Add any custom Grafana configurations you require here. This should be a YAML-formatted string of additional settings for Grafana. |
214214
| grafana.image.repository | string | `"grafana/grafana"` | Image repository for Grafana. |
215215
| grafana.image.tag | string | `"12.0.0-security-01"` | Tag for the Grafana image. |
216216
| grafana.ingress.className | string | `""` | Specifies the class of the Ingress controller. Required if the Kubernetes cluster includes multiple Ingress controllers. |
@@ -253,8 +253,8 @@ Dashboards are provisioned directly from CRDs, which means any manual edits will
253253
| prometheusOperator.prometheusConfigReloader.image.repository | string | `"quay.io/prometheus-operator/prometheus-config-reloader"` | Image repository for Prometheus Config Reloader. |
254254
| prometheusOperator.prometheusConfigReloader.image.tag | string | `"v0.81.0"` | Tag for the Prometheus Config Reloader image. |
255255
| prometheusOperator.replicas | int | `1` | Number of Prometheus Operator replicas to deploy. |
256-
| tempo.customConfig | object | `{}` | Add any custom Tempo configurations you require here. This should be a YAML object of additional settings for Tempo. |
257256
| tempo.enabled | string | `"-"` | Enable Tempo distributed tracing Requires manual installation of Tempo Operator Set to true to enable, false to disable, "-" to use global default |
257+
| tempo.extraConfig | object | `{}` | Add any custom Tempo configurations you require here. This should be a YAML object of additional settings for Tempo. |
258258
| tempo.podSecurityContext | object | `{"fsGroup":10001,"runAsGroup":10001,"runAsNonRoot":true,"runAsUser":10001}` | Pod security context for Tempo containers |
259259
| tempo.podSecurityContext.fsGroup | int | `10001` | Filesystem group ID for volume ownership and permissions |
260260
| tempo.podSecurityContext.runAsGroup | int | `10001` | Group ID to run the container processes |

templates/grafana/grafana.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ spec:
106106
mode: "console"
107107
auth:
108108
disable_login_form: "false"
109-
{{- with .customConfig }}
109+
{{- with .extraConfig }}
110110
{{ toYaml . | nindent 4 }}
111111
{{- end }}
112112

templates/tempo/tempomonolithic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
matchLabels:
5050
dashboards: grafana
5151

52-
{{- with .Values.tempo.customConfig }}
52+
{{- with .Values.tempo.extraConfig }}
5353
extraConfig:
5454
{{ toYaml . | nindent 4 }}
5555
{{- end }}

tests/tempo/tempomonolithic_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ tests:
103103
- it: should configure custom distributor config
104104
set:
105105
tempo.enabled: true
106-
tempo.customConfig:
106+
tempo.extraConfig:
107107
distributor:
108108
log_received_traces: true
109109
asserts:

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ grafana:
124124
secretName: ""
125125
# -- Add any custom Grafana configurations you require here. This should be a
126126
# YAML-formatted string of additional settings for Grafana.
127-
customConfig: ""
127+
extraConfig: ""
128128
persistence:
129129
# -- Enable persistent storage for Grafana.
130130
enabled: false
@@ -210,4 +210,4 @@ tempo:
210210
fsGroup: 10001
211211
# -- Add any custom Tempo configurations you require here. This should be a
212212
# YAML object of additional settings for Tempo.
213-
customConfig: {}
213+
extraConfig: {}

0 commit comments

Comments
 (0)