Skip to content

Commit 50bba45

Browse files
authored
Merge pull request #27 from lightstep/gtd.optional-replicas
set deploy replicas conditionally
2 parents 6ba9bb1 + 47d7bd9 commit 50bba45

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

charts/lightstepsatellite/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.0.16
2+
3+
* Omit Deployment.spec.replicas if autoscaling is enabled, or replicaCount is null.
4+
* Only set `COLLECTOR_REPORTER_BYTES_PER_PROJECT` if `lightstep.bytes_per_project` is non-null.
5+
16
## 2.0.15
27

38
* Fix `diagnostic_port` Helm variable to target the right config value.

charts/lightstepsatellite/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: lightstep
3-
version: 2.0.15
3+
version: 2.0.16
44
appVersion: "2022-10-03_20-16-42Z"
55
description: Lightstep microsatellite to collect telemetry data.
66
home: https://lightstep.com/

charts/lightstepsatellite/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# lightstep
22

3-
![Version: 2.0.15](https://img.shields.io/badge/Version-2.0.15-informational?style=flat-square) ![AppVersion: 2022-10-03_20-16-42Z](https://img.shields.io/badge/AppVersion-2022--10--03_20--16--42Z-informational?style=flat-square)
3+
![Version: 2.0.16](https://img.shields.io/badge/Version-2.0.16-informational?style=flat-square) ![AppVersion: 2022-10-03_20-16-42Z](https://img.shields.io/badge/AppVersion-2022--10--03_20--16--42Z-informational?style=flat-square)
44

55
Lightstep microsatellite to collect telemetry data.
66

charts/lightstepsatellite/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ metadata:
55
labels:
66
{{- include "lightstep.labels" . | nindent 4 }}
77
spec:
8+
{{- if not (or .Values.autoscaling.enabled (kindIs "invalid" .Values.replicaCount)) }}
89
replicas: {{ .Values.replicaCount }}
10+
{{- end }}
911
selector:
1012
matchLabels:
1113
{{- include "lightstep.selectorLabels" . | nindent 6 }}

0 commit comments

Comments
 (0)