test avec la lib
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
{{/* custom render */}}
|
||||
|
||||
{{- include "common.pvc" . }}
|
||||
|
||||
{{- if .Values.secret -}}
|
||||
{{ include "common.secret" . | nindent 0 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -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