Skip to content

Commit

Permalink
add config volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanow committed Apr 16, 2024
1 parent eb27aa1 commit 191b5ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/java-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ spec:
mountPath: /usr/share/filebeat/filebeat.yml
subPath: filebeat.yml
{{- range $config := .Values.configVolumes }}
- name: {{ $config.name }}-config-volume
- name: {{ $config.name }}
mountPath: {{ $config.mount }}
{{- if $config.path }}
subPath: {{ $config.path }}
Expand All @@ -136,6 +136,6 @@ spec:
{{- range $config := .Values.configVolumes }}
- name: {{ $config.name }}
configMap:
name: {{ $config.name }}-config-volume
name: {{ $config.name }}
defaultMode: 420
{{- end }}

0 comments on commit 191b5ee

Please sign in to comment.