diff --git a/charts/cups-airprint/templates/deployment.yaml b/charts/cups-airprint/templates/deployment.yaml index f475963..09004b7 100644 --- a/charts/cups-airprint/templates/deployment.yaml +++ b/charts/cups-airprint/templates/deployment.yaml @@ -63,6 +63,20 @@ spec: {{- else }} emptyDir: {} {{- end -}} + - name: config + {{- if .Values.persistence.enabled }} + persistentVolumeClaim: + claimName: {{ include "cups-airprint.fullname" . }}-config + {{- else }} + emptyDir: {} + {{- end -}} + - name: spool + {{- if .Values.persistence.enabled }} + persistentVolumeClaim: + claimName: {{ include "cups-airprint.fullname" . }}-spool + {{- else }} + emptyDir: {} + {{- end -}} {{- if .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }} {{- end }}