Commit 9a2325da authored by Radu Carpa's avatar Radu Carpa
Browse files

daemons: support mountedSecrets without subPath

To be able to mount the whole secret as a directory.
parent d8790d46
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -113,7 +113,9 @@ spec:
            {{- range $key, $val := $collection }}
            - name: {{ kindIs "int" $key | ternary (coalesce $val.volumeName $val.secretName $val.secretFullName) $key }} 
              mountPath: {{ $val.mountPath }}
              subPath: {{ $val.subPath }}
              {{- if $val.subPath }}
              subPath: "{{ $val.subPath }}"
              {{- end }}
            {{- end}}
            {{- end}}
            {{- range $key, $val := .Values.persistentVolumes }}
+3 −1
Original line number Diff line number Diff line
@@ -113,7 +113,9 @@ spec:
            {{- range $key, $val := $collection }}
            - name: {{ kindIs "int" $key | ternary (coalesce $val.volumeName $val.secretName $val.secretFullName) $key }} 
              mountPath: {{ $val.mountPath }}
              subPath: {{ $val.subPath }}
              {{- if $val.subPath }}
              subPath: "{{ $val.subPath }}"
              {{- end }}
            {{- end}}
            {{- end}}
            {{- range $key, $val := .Values.persistentVolumes }}
+3 −1
Original line number Diff line number Diff line
@@ -113,7 +113,9 @@ spec:
            {{- range $key, $val := $collection }}
            - name: {{ kindIs "int" $key | ternary (coalesce $val.volumeName $val.secretName $val.secretFullName) $key }} 
              mountPath: {{ $val.mountPath }}
              subPath: {{ $val.subPath }}
              {{- if $val.subPath }}
              subPath: "{{ $val.subPath }}"
              {{- end }}
            {{- end}}
            {{- end}}
            {{- range $key, $val := .Values.persistentVolumes }}
+3 −1
Original line number Diff line number Diff line
@@ -118,7 +118,9 @@ spec:
            {{- range $key, $val := $collection }}
            - name: {{ kindIs "int" $key | ternary (coalesce $val.volumeName $val.secretName $val.secretFullName) $key }} 
              mountPath: {{ $val.mountPath }}
              subPath: {{ $val.subPath }}
              {{- if $val.subPath }}
              subPath: "{{ $val.subPath }}"
              {{- end }}
            {{- end}}
            {{- end}}
            {{- range $key, $val := .Values.persistentVolumes }}
+3 −1
Original line number Diff line number Diff line
@@ -99,7 +99,9 @@ spec:
          {{- range $key, $val := $collection }}
            - name: {{ kindIs "int" $key | ternary (coalesce $val.volumeName $val.secretName $val.secretFullName) $key }} 
              mountPath: {{ $val.mountPath }}
              subPath: {{ $val.subPath }}
              {{- if $val.subPath }}
              subPath: "{{ $val.subPath }}"
              {{- end }}
          {{- end}}
          {{- end}}
          {{- range $key, $val := .Values.persistentVolumes }}
Loading