Skip to content

Commit

Permalink
Add missing config volume to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
kuskoman committed Dec 26, 2023
1 parent 0f3d5b0 commit dde4641
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions chart/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
app: {{ include "logstash-exporter.name" . }}
release: {{ .Release.Name }}
data: |
config.yml: |-
{{- if .Values.customConfig.enabled }}
{{- .Values.customConfig.config | nindent 4 }}
{{- else }}
Expand Down
9 changes: 8 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,11 @@ spec:
ports:
- name: http
containerPort: {{ required "service.port is required" .Values.service.port }}

volumeMounts:
- name: config-volume
mountPath: /app/config.yml
subPath: config.yml
volumes:
- name: config-volume
configMap:
name: {{ include "logstash-exporter.name" . }}

0 comments on commit dde4641

Please sign in to comment.