|
|
|
|
@ -47,30 +47,14 @@ spec:
|
|
|
|
|
port: http
|
|
|
|
|
resources:
|
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: config
|
|
|
|
|
{{- if .Values.persistence.enabled }}
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: {{ include "cups-airprint.fullname" . }}-config
|
|
|
|
|
{{- else }}
|
|
|
|
|
emptyDir: {}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
mountPath: /config
|
|
|
|
|
- name: spool
|
|
|
|
|
{{- if .Values.persistence.enabled }}
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: {{ include "cups-airprint.fullname" . }}-spool
|
|
|
|
|
{{- else }}
|
|
|
|
|
emptyDir: {}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
mountPath: /var/spool/cups-pdf
|
|
|
|
|
- name: avahi
|
|
|
|
|
{{- if .Values.avahi }}
|
|
|
|
|
hostPath:
|
|
|
|
|
path: "/etc/avahi/services"
|
|
|
|
|
type: Directory
|
|
|
|
|
{{- else }}
|
|
|
|
|
emptyDir: {}
|
|
|
|
|
{{- end -}}
|
|
|
|
|
mountPath: /services
|
|
|
|
|
|
|
|
|
|
{{- if .Values.hostNetwork }}
|
|
|
|
|
hostNetwork: {{ .Values.hostNetwork }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
|