|
|
|
@ -48,16 +48,12 @@ spec:
|
|
|
|
resources:
|
|
|
|
resources:
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
volumeMounts:
|
|
|
|
volumeMounts:
|
|
|
|
{{- if .Values.persistence.enabled }}
|
|
|
|
|
|
|
|
- name: config
|
|
|
|
- name: config
|
|
|
|
mountPath: "/config"
|
|
|
|
mountPath: /config
|
|
|
|
- name: spool
|
|
|
|
- name: spool
|
|
|
|
mountPath: "/var/spool/cups-pdf"
|
|
|
|
mountPath: /var/spool/cups-pdf
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.avahi }}
|
|
|
|
|
|
|
|
- name: avahi
|
|
|
|
- name: avahi
|
|
|
|
mountPath: "/services"
|
|
|
|
mountPath: /services
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|