Skip to content

Commit

Permalink
Merge pull request #237 from miljanic/priority-class-name
Browse files Browse the repository at this point in the history
Priority class name
  • Loading branch information
brunoocasali authored Aug 7, 2024
2 parents 7abdbcb + 6a861f5 commit cdf2d65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/meilisearch/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v1.9.0"
description: A Helm chart for the Meilisearch search engine
name: meilisearch
version: 0.8.0
version: 0.9.0
icon: https://raw.githubusercontent.com/meilisearch/integration-guides/main/assets/logos/logo.svg
home: https://github.com/meilisearch/meilisearch-kubernetes/tree/main/charts/meilisearch
maintainers:
Expand Down
3 changes: 3 additions & 0 deletions charts/meilisearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
volumes:
- name: tmp
emptyDir: {}
Expand Down
3 changes: 3 additions & 0 deletions charts/meilisearch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ podLabels: {}
# -- Additional labels to add to all resources
customLabels: {}

# -- Priority class name for pod
priorityClassName: ""

# -- Service HTTP port
service:
# -- Kubernetes Service type
Expand Down
2 changes: 1 addition & 1 deletion manifests/meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
app.kubernetes.io/component: search-engine
app.kubernetes.io/part-of: meilisearch
annotations:
checksum/config: 28bb25587b6f6f42e1991cfbe3fca5f72ef180d61aaf42857614e16d9b618e30
checksum/config: 9b1b33e395e5ab2e54e89dd0661f4bc36b5e03eada8ec87236c321547fb7b221
spec:
serviceAccountName: meilisearch
securityContext:
Expand Down

0 comments on commit cdf2d65

Please sign in to comment.