diff --git a/charts/cups-airprint/templates/deployment.yaml b/charts/cups-airprint/templates/deployment.yaml index 29e14c6..f475963 100644 --- a/charts/cups-airprint/templates/deployment.yaml +++ b/charts/cups-airprint/templates/deployment.yaml @@ -54,7 +54,15 @@ spec: mountPath: /var/spool/cups-pdf - name: avahi mountPath: /services - + volumes: + - name: avahi + {{- if .Values.avahi }} + hostPath: + path: "/etc/avahi/services" + type: Directory + {{- else }} + emptyDir: {} + {{- end -}} {{- if .Values.hostNetwork }} hostNetwork: {{ .Values.hostNetwork }} {{- end }}