Skip to content

Commit ba7a60d

Browse files
[otel/kube-stack] Update the OpenTelemetry Kube Stack Helm Chart to latest versions (elastic#12341)
* chore: Update tested OpenTelemetry Kube Stack Helm Chart in k8s.go Made with ❤️️ by updatecli * chore: Update local OpenTelemetry Kube Stack Helm Chart files Made with ❤️️ by updatecli --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 31a1de1 commit ba7a60d

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

testing/integration/k8s/k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package k8s
77
import "path/filepath"
88

99
const (
10-
KubeStackChartVersion = "0.12.6"
10+
KubeStackChartVersion = "0.12.7"
1111
KubeStackChartName = "opentelemetry-kube-stack"
1212
KubeStackChartNameWithVersion = KubeStackChartName + "-" + KubeStackChartVersion
1313
KubeStackChartArchiveName = KubeStackChartNameWithVersion + ".tgz"

testing/integration/k8s/testdata/opentelemetry-kube-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ name: opentelemetry-kube-stack
3434
sources:
3535
- https://github.com/open-telemetry/opentelemetry-operator
3636
type: application
37-
version: 0.12.6
37+
version: 0.12.7

testing/integration/k8s/testdata/opentelemetry-kube-stack/templates/collector.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ spec:
121121
deploymentUpdateStrategy:
122122
{{- toYaml . | nindent 4}}
123123
{{- end }}
124+
{{- end }}
125+
{{- if eq $collector.mode "statefulset" }}
126+
{{- with $collector.persistentVolumeClaimRetentionPolicy }}
127+
persistentVolumeClaimRetentionPolicy:
128+
{{- toYaml . | nindent 4}}
129+
{{- end }}
124130
{{- end }}
125131
{{- if or ($collector.presets.logsCollection.enabled) ($collector.presets.logsCollection.storeCheckpoints) ($collector.presets.hostMetrics.enabled) ($collector.volumeMounts) }}
126132
volumeMounts:

testing/integration/k8s/testdata/opentelemetry-kube-stack/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,11 @@ defaultCRConfig:
327327
deploymentUpdateStrategy: {}
328328
# type: RollingUpdate
329329

330+
# Retention policy for the PersistentVolumeClaim https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
331+
persistentVolumeClaimRetentionPolicy: {}
332+
# whenDeleted: Retain
333+
# whenScaled: Retain
334+
330335
# Volume mounts for the collector
331336
volumeMounts: []
332337
# - name: data

0 commit comments

Comments
 (0)