Skip to content

Commit

Permalink
Support for priorityClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed Aug 3, 2024
1 parent 2e0b6fd commit 384320f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/charts/photoprism/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: photoprism
description: Photoprism by mmontes11
type: application
version: 0.9.0
version: 0.10.0
appVersion: "240531"
maintainers:
- name: mmontes11
Expand Down
3 changes: 2 additions & 1 deletion deploy/charts/photoprism/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ spec:
nodeSelector:
{{ toYaml . | nindent 8 }}
{{ end }}
{{ with .Values.sync.affinity }}
{{ with .Values.affinity }}
affinity:
{{ toYaml . | nindent 12 }}
{{ end }}
priorityClassName: {{ .Values.priorityClassName }}
containers:
- name: photoprism
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down
2 changes: 2 additions & 0 deletions deploy/charts/photoprism/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ nodeSelector: {}

affinity: {}

priorityClassName: ""

podDisruptionBudget:
enabled: false
minAvailable: 1

0 comments on commit 384320f

Please sign in to comment.