Skip to content

Commit

Permalink
[CHORE] adding static config option (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Takashi <nicolas.takashi@coralogix.com>
  • Loading branch information
nicolastakashi committed Sep 18, 2024
1 parent 7961341 commit be1c35d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/opentelemetry-collector/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ Build config file for daemonset OpenTelemetry Collector
{{- if .Values.presets.clusterMetrics.enabled }}
{{- $config = (include "opentelemetry-collector.applyClusterMetricsConfig" (dict "Values" $data "config" $config) | fromYaml) }}
{{- end }}
{{- if .Values.presets.kubernetesExtraMetrics.enabled }}
{{- $config = (include "opentelemetry-collector.applyKubernetesExtraMetrics" (dict "Values" $data "config" $config) | fromYaml) }}
{{- end }}
{{- if .Values.presets.metadata.enabled }}
{{- $config = (include "opentelemetry-collector.applyMetadataConfig" (dict "Values" $data "config" $config) | fromYaml) }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1492,4 +1492,4 @@
"required": [
"mode"
]
}
}

0 comments on commit be1c35d

Please sign in to comment.