Skip to content

Commit 324bc3a

Browse files
committed
Remove hostPath volumes from telemetry deployment
1 parent 06dc543 commit 324bc3a

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

charts/retool/ci/kubeconform/telemetry-enabled-full-values.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@ telemetry:
7575
foo.com/bar: baz
7676
extraPodSpec:
7777
hostname: bleepbloop
78-
extraVolumes:
79-
- name: varlog
80-
hostPath:
81-
path: "/var/log"
82-
extraVolumeMounts:
83-
- name: varlog
84-
mountPath: "/hostvarlog"
85-
readOnly: true
8678
extraPorts:
8779
- containerPort: 9999
8880
name: yaaaaa

charts/retool/templates/deployment_telemetry.yaml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ spec:
4848
valueFrom:
4949
fieldRef:
5050
fieldPath: metadata.namespace
51-
- name: PROCFS_ROOT
52-
value: "/host/proc"
53-
- name: SYSFS_ROOT
54-
value: "/host/sys"
5551
{{- if include "shouldIncludeConfigSecretsEnvVars" . }}
5652
- name: LICENSE_KEY
5753
valueFrom:
@@ -110,18 +106,6 @@ spec:
110106
subPath: "grafana-agent-custom.river"
111107
readOnly: true
112108
{{- end }}
113-
- name: var-log
114-
mountPath: "/var/log/"
115-
readOnly: true
116-
- name: var-lib
117-
mountPath: "/var/lib"
118-
readOnly: true
119-
- name: procfs
120-
mountPath: "/host/proc"
121-
readOnly: true
122-
- name: sysfs
123-
mountPath: "/host/sys"
124-
readOnly: true
125109
{{- if .Values.telemetry.extraVolumeMounts }}
126110
{{- .Values.telemetry.extraVolumeMounts | toYaml | nindent 10 }}
127111
{{- end }}
@@ -147,18 +131,6 @@ spec:
147131
configMap:
148132
name: {{ include "retool.fullname" . }}-telemetry
149133
{{- end }}
150-
- name: var-log
151-
hostPath:
152-
path: "/var/log/"
153-
- name: var-lib
154-
hostPath:
155-
path: "/var/lib/"
156-
- name: procfs
157-
hostPath:
158-
path: "/proc"
159-
- name: sysfs
160-
hostPath:
161-
path: "/sys"
162134
{{- if .Values.telemetry.extraVolumes }}
163135
{{- .Values.telemetry.extraVolumes | toYaml | nindent 8 }}
164136
{{- end }}

0 commit comments

Comments
 (0)