diff --git a/charts/cups-airprint/templates/deployment.yaml b/charts/cups-airprint/templates/deployment.yaml index c057901..29e14c6 100644 --- a/charts/cups-airprint/templates/deployment.yaml +++ b/charts/cups-airprint/templates/deployment.yaml @@ -47,30 +47,14 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + volumeMounts: + - name: config + mountPath: /config + - name: spool + mountPath: /var/spool/cups-pdf + - name: avahi + mountPath: /services - volumes: - - 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 -}} - - name: avahi - {{- if .Values.avahi }} - hostPath: - path: "/etc/avahi/services" - type: Directory - {{- else }} - emptyDir: {} - {{- end -}} {{- if .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }} {{- end }}