Skip to content

Commit 86801b9

Browse files
authored
Merge branch 'main' into fix/collector-resource-limits-warning
2 parents 6d9b4a3 + 48c44b4 commit 86801b9

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

charts/opentelemetry-collector/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ metadata:
1515
{{- end }}
1616
spec:
1717
type: {{ .Values.service.type }}
18+
{{- if .Values.service.trafficDistribution }}
19+
trafficDistribution: {{ .Values.service.trafficDistribution }}
20+
{{- end }}
1821
{{- if .Values.service.clusterIP }}
1922
clusterIP: {{ .Values.service.clusterIP }}
2023
{{- end }}

charts/opentelemetry-collector/values.schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,12 @@
693693
"enabled": {
694694
"type": "boolean"
695695
},
696+
"trafficDistribution": {
697+
"type": "string",
698+
"enum": [
699+
"PreferClose"
700+
]
701+
},
696702
"type": {
697703
"type": "string",
698704
"enum": [

charts/opentelemetry-collector/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ service:
514514
# enabled: true
515515

516516
type: ClusterIP
517+
# trafficDistribution: PreferClose
517518
# type: LoadBalancer
518519
# loadBalancerIP: 1.2.3.4
519520
# loadBalancerSourceRanges: []

0 commit comments

Comments
 (0)