Skip to content

Commit

Permalink
feat(observability-pipeline): use pvc for cacheing latest config
Browse files Browse the repository at this point in the history
  • Loading branch information
VinozzZ committed Jan 24, 2025
1 parent 835f65c commit d16c04e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ spec:
- name: otel-config
mountPath: /etc/straws-control-plane
{{- end }}
{{- if .Values.controlPlane.persistentVolumeClaimName }}
- name: latest-config-cache
mountPath: /app/straws-control-plane/cache
readonly: false
{{- end }}
{{- with .Values.controlPlane.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand All @@ -73,6 +78,10 @@ spec:
- key: otel-config
path: otel-config.yaml
{{- end }}
{{- if .Values.controlPlane.persistentVolumeClaimName }}
- name: latest-config-cache
persistentVolumeClaimName: {{ .Values.controlPlane.persistentVolumeClaimName }}
{{- end }}
{{- with .Values.controlPlane.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/observability-pipeline/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ controlPlane:
pipelineInstallationID: ""
team: ""
publicMgmtKey: ""
persistentVolumeClaimName: ""
environment:
- name: HONEYCOMB_MGMT_API_SECRET
valueFrom:
Expand Down

0 comments on commit d16c04e

Please sign in to comment.