|
|
|
|
@ -54,21 +54,6 @@ spec:
|
|
|
|
|
mountPath: /var/spool/cups-pdf
|
|
|
|
|
- name: avahi
|
|
|
|
|
mountPath: /services
|
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
|
nodeSelector:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.affinity }}
|
|
|
|
|
affinity:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.tolerations }}
|
|
|
|
|
tolerations:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
volumes:
|
|
|
|
|
- name: config
|
|
|
|
|
{{- if .Values.persistence.enabled }}
|
|
|
|
|
@ -92,3 +77,18 @@ spec:
|
|
|
|
|
{{- else }}
|
|
|
|
|
emptyDir: {}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.nodeSelector }}
|
|
|
|
|
nodeSelector:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.affinity }}
|
|
|
|
|
affinity:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.tolerations }}
|
|
|
|
|
tolerations:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
|