Skip to content

Commit fb3d450

Browse files
committed
feat: add customAlloyOnly flag to exclude destinations from upstream chart
1 parent 4a68ec5 commit fb3d450

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

charts/k8s-observability-monitoring/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: k8s-observability-monitoring
3-
version: 1.0.3
3+
version: 1.0.4
44
description: Helm chart for k8s-observability-monitoring
55

66
# renovate: datasource=helm depName=k8s-monitoring registryUrl=https://grafana.github.io/helm-charts

charts/k8s-observability-monitoring/config/k8s-monitoring-values.yaml.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cluster:
44
{{- if .Values.destinations }}
55
destinations:
66
{{- range $name, $dest := .Values.destinations }}
7+
{{- if not $dest.customAlloyOnly }}
78
{{ $name }}:
89
type: {{ $dest.type | default "otlp" }}
910
url: {{ $dest.url }}
@@ -52,6 +53,7 @@ destinations:
5253
{{- toYaml $dest.sendingQueue | nindent 6 }}
5354
{{- end }}
5455
{{- end }}
56+
{{- end }}
5557
{{- else }}
5658
destinations: {}
5759
{{- end }}

charts/k8s-observability-monitoring/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ chart:
1313
# Each destination is a map entry with the destination name as key.
1414
# See: https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/destinations/README.md
1515
#
16+
# Set customAlloyOnly: true to exclude a destination from the upstream k8s-monitoring chart
17+
# (it will only be used by customAlloy).
18+
#
1619
# Example:
1720
# destinations:
1821
# otlpGateway:

0 commit comments

Comments
 (0)