Skip to content

Commit 19a18a9

Browse files
author
John Lubinski
committed
Fix duplicated definition
1 parent 0f815c8 commit 19a18a9

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

charts/core-dump-handler/templates/_helpers.tpl

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,6 @@ Basically copied from https://github.com/bitnami/charts/blob/master/bitnami/comm
7474
{{- end }}
7575
{{- end -}}
7676

77-
{{- define "core-dump-handler.daemonset.container.volumeMounts" -}}
78-
- name: host-volume
79-
mountPath: {{ .Values.daemonset.hostDirectory }}
80-
mountPropagation: Bidirectional
81-
- name: core-volume
82-
mountPath: {{ .Values.daemonset.coreDirectory }}
83-
mountPropagation: Bidirectional
84-
{{- if .Values.composer.coreEvents }}
85-
- name: event-volume
86-
mountPath: {{ .Values.daemonset.eventDirectory }}
87-
mountPropagation: Bidirectional
88-
{{- end }}
8977
{{- define "core-dump-handler.daemonset.container.volumeMounts" -}}
9078
- name: host-volume
9179
mountPath: {{ .Values.daemonset.hostDirectory }}
@@ -98,6 +86,11 @@ Basically copied from https://github.com/bitnami/charts/blob/master/bitnami/comm
9886
mountPropagation: {{ .Values.daemonset.mountPropagation }}
9987
{{- end }}
10088
{{- if .Values.composer.coreEvents }}
89+
- name: event-volume
90+
mountPath: {{ .Values.daemonset.eventDirectory }}
91+
mountPropagation: Bidirectional
92+
{{- end }}
93+
{{- if .Values.composer.coreEvents }}
10194
- name: event-volume
10295
mountPath: {{ .Values.daemonset.eventDirectory }}
10396
{{- if .Values.daemonset.mountPropagation }}

0 commit comments

Comments
 (0)