Skip to content

Commit

Permalink
Finally fix volume config for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kuskoman committed Dec 26, 2023
1 parent 4d65915 commit c226dbe
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ spec:
containers:
- name: exporter
env:
- name: EXPORTER_CONFIG_LOCATION
value: /app/config.yml
{{- range $key, $value := .Values.deployment.env }}
- name: {{ $key | quote }}
value: {{ $value | quote }}
Expand Down Expand Up @@ -119,11 +121,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" . }}
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 c226dbe

Please sign in to comment.