Skip to content

Commit 19309a8

Browse files
authored
Remove hostPath volumes from telemetry deployment (#225)
* Remove hostPath volumes from telemetry deployment * bump version to 6.4.4
1 parent 06dc543 commit 19309a8

File tree

3 files changed

+1
-37
lines changed

3 files changed

+1
-37
lines changed

charts/retool/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: retool
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 6.4.3
5+
version: 6.4.4
66
maintainers:
77
- name: Retool Engineering
88

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

-8
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

-28
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)