Skip to content

Commit

Permalink
updated statefulset
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed Sep 25, 2024
1 parent ef5c4f4 commit 7e14940
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions charts/victoria-metrics-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,12 @@ spec:
volumeMounts:
- name: tmpdata
mountPath: /tmpData
- name: config
mountPath: /config
- name: scrape-config
mountPath: /config/scrape
{{- with (include "chart.rw.config" .) }}
- name: rw-config
mountPath: /config/rw
{{- end }}
{{- range .Values.extraHostPathMounts }}
- name: {{ .name }}
mountPath: {{ .mountPath }}
Expand Down Expand Up @@ -156,7 +160,12 @@ spec:
emptyDir: {{ toYaml .Values.emptyDir | nindent 12 }}
{{- end }}
{{- end }}
- name: config
{{- with (include "chart.rw.config" .) }}
- name: rw-config
configMap:
name: {{ include "chart.fullname" $ -}}-rw
{{- end }}
- name: scrape-config
configMap:
name: {{ include "chart.configname" . }}
{{- range .Values.extraHostPathMounts }}
Expand Down

0 comments on commit 7e14940

Please sign in to comment.