|
|
|
|
@ -49,14 +49,14 @@ spec:
|
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
|
volumeMounts:
|
|
|
|
|
{{- if .Values.persistence.enabled }}
|
|
|
|
|
- name: "config"
|
|
|
|
|
mountPath: /config
|
|
|
|
|
- name: "spool"
|
|
|
|
|
mountPath: /var/spool/cups-pdf
|
|
|
|
|
- name: config
|
|
|
|
|
mountPath: "/config"
|
|
|
|
|
- name: spool
|
|
|
|
|
mountPath: "/var/spool/cups-pdf"
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- if .Values.avahi }}
|
|
|
|
|
- name: "avahi"
|
|
|
|
|
mountPath: /services
|
|
|
|
|
- name: avahi
|
|
|
|
|
mountPath: "/services"
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
|
@ -91,7 +91,7 @@ spec:
|
|
|
|
|
- name: avahi
|
|
|
|
|
{{- if .Values.avahi }}
|
|
|
|
|
hostPath:
|
|
|
|
|
path: /etc/avahi/services
|
|
|
|
|
path: "/etc/avahi/services"
|
|
|
|
|
type: Directory
|
|
|
|
|
{{- else }}
|
|
|
|
|
emptyDir: {}
|
|
|
|
|
|