From ba2f5997347a680b9ac4799dc794bd0b6f8767b1 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Thu, 20 Aug 2020 09:44:01 +0200 Subject: [PATCH] fix volumemount --- charts/cups-airprint/templates/deployment.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/charts/cups-airprint/templates/deployment.yaml b/charts/cups-airprint/templates/deployment.yaml index 1caf5d6..841faf4 100644 --- a/charts/cups-airprint/templates/deployment.yaml +++ b/charts/cups-airprint/templates/deployment.yaml @@ -48,16 +48,12 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - {{- if .Values.persistence.enabled }} - name: config - mountPath: "/config" + mountPath: /config - name: spool - mountPath: "/var/spool/cups-pdf" - {{- end }} - {{- if .Values.avahi }} + mountPath: /var/spool/cups-pdf - name: avahi - mountPath: "/services" - {{- end }} + mountPath: /services {{- if .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }} {{- end }}