From 0a5733a5194daa6afc962551bdc3d1fda02c1689 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Thu, 20 Aug 2020 10:11:19 +0200 Subject: [PATCH] test volume --- charts/cups-airprint/templates/deployment.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 }}