Skip to content

Commit 1831a84

Browse files
committed
only set reporter_bytes_per_project if non-null
1 parent fdb8329 commit 1831a84

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

charts/lightstepsatellite/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ spec:
6363
fieldRef:
6464
fieldPath: metadata.name
6565
{{- end }}
66+
{{- if not (kindIs "invalid" .Values.lightstep.bytes_per_project) }}
6667
- name: COLLECTOR_REPORTER_BYTES_PER_PROJECT
6768
value: {{ .Values.lightstep.bytes_per_project | quote }}
69+
{{- end }}
6870
{{- if .Values.lightstep.bytes_per_project_override }}
6971
- name: COLLECTOR_REPORTER_BYTES_PER_PROJECT_OVERRIDES
7072
value: {{ .Values.lightstep.bytes_per_project_override | toJson | quote }}

0 commit comments

Comments
 (0)