Skip to content

Commit

Permalink
Remove outdated HOST_PROC_MOUNTINFO env var usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoravong committed Nov 8, 2024
1 parent 4a1dfc0 commit 2f5d2b3
Show file tree
Hide file tree
Showing 30 changed files with 0 additions and 152 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/add-sampler/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/autodetect-istio/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/crio-logging/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/default/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_platform_hec_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/discovery-mode/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo
- name: REDIS_USERNAME
valueFrom:
secretKeyRef:
Expand Down
5 changes: 0 additions & 5 deletions examples/distribution-aks/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/distribution-eks/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/distribution-gke/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_platform_hec_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/multi-metrics/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_platform_hec_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_platform_hec_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/only-metrics/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/target-allocator/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
5 changes: 0 additions & 5 deletions examples/use-proxy/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo
- name: HTTPS_PROXY
value: 192.168.0.10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ spec:
secretKeyRef:
name: default-splunk-otel-collector
key: splunk_observability_access_token
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo

readinessProbe:
httpGet:
Expand Down
7 changes: 0 additions & 7 deletions helm-charts/splunk-otel-collector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,6 @@ spec:
key: splunk_platform_hec_token
{{- end }}
{{- if eq (include "splunk-otel-collector.metricsEnabled" .) "true" }}
{{- if not .Values.isWindows }}
# until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/5879
# is resolved fall back to previous gopsutil mountinfo path:
# https://github.com/shirou/gopsutil/issues/1271
- name: HOST_PROC_MOUNTINFO
value: /proc/self/mountinfo
{{- end }}
{{- end }}
{{- with $agent.extraEnvs }}
{{- . | toYaml | nindent 10 }}
Expand Down

0 comments on commit 2f5d2b3

Please sign in to comment.