Skip to content

Commit e638844

Browse files
committed
rm not needed extra config
1 parent 3243aef commit e638844

File tree

1 file changed

+0
-45
lines changed
  • helm-charts/splunk-otel-collector/templates/config

1 file changed

+0
-45
lines changed

helm-charts/splunk-otel-collector/templates/config/_common.tpl

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -111,51 +111,6 @@ resourcedetection:
111111
enabled: true
112112
{{- end }}
113113
{{- end }}
114-
#
115-
# --- Secondary detector configs ---
116-
# Only instance-level attributes enabled; cloud.platform and cloud.provider
117-
# are disabled so the primary detector's values are preserved (override: true).
118-
#
119-
{{- if and (eq .Values.distribution "openshift") (eq .Values.cloudProvider "gcp") }}
120-
gcp:
121-
resource_attributes:
122-
k8s.cluster.name:
123-
enabled: false
124-
cloud.provider:
125-
enabled: false
126-
cloud.platform:
127-
enabled: false
128-
cloud.account.id:
129-
enabled: true
130-
cloud.region:
131-
enabled: true
132-
cloud.availability_zone:
133-
enabled: true
134-
host.id:
135-
enabled: true
136-
host.name:
137-
enabled: true
138-
host.type:
139-
enabled: true
140-
{{- end }}
141-
{{- if eq (include "splunk-otel-collector.isNonEKSonAWS" .) "true" }}
142-
ec2:
143-
resource_attributes:
144-
host.id:
145-
enabled: true
146-
cloud.region:
147-
enabled: true
148-
cloud.availability_zone:
149-
enabled: true
150-
cloud.account.id:
151-
enabled: true
152-
host.name:
153-
enabled: true
154-
host.image.id:
155-
enabled: true
156-
host.type:
157-
enabled: true
158-
{{- end }}
159114
override: true
160115
timeout: 15s
161116
{{- end }}

0 commit comments

Comments
 (0)