test avec la lib
This commit is contained in:
@@ -55,9 +55,15 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
# TODO: ici on pourrait essayer de simplement faire un include common.controller.volumeMounts
|
||||
- name: dump
|
||||
mountPath: /dump
|
||||
{{- with (include "common.controller.volumes" . | trim) }}
|
||||
volumes:
|
||||
- name: dump
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ include "common.names.fullname" . }}-dump
|
||||
{{- nindent 2 . }}
|
||||
{{- end }}
|
||||
# volumes:
|
||||
# - name: dump
|
||||
# hostPath:
|
||||
# path:
|
||||
# type:
|
||||
Reference in New Issue
Block a user