From 1a5496cb491a1a864c7ea8942990c79670fb8403 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Thu, 20 Aug 2020 10:02:02 +0200 Subject: [PATCH] Test --- .../cups-airprint/templates/deployment.yaml | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) 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 }}