Skip to content

Commit 6ba9bb1

Browse files
authored
Merge pull request #28 from lightstep/gtd.optional-bytes-per-project
only set reporter_bytes_per_project if non-null
2 parents fdb8329 + 1831a84 commit 6ba9bb1

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)