Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add priorityClassName as an option for baserow #1100

Merged
merged 3 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions charts/baserow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: baserow
description: Baserow is an open source no-code database and Airtable alternative.
type: application
version: 2.1.2
version: 2.1.3
appVersion: "1.22.3"
home: https://github.com/christianknell/helm-charts
icon: https://baserow.io/img/favicon_192.png
Expand All @@ -24,8 +24,8 @@ dependencies:
annotations:
artifacthub.io/category: database
artifacthub.io/changes: |
- kind: changed
description: fixed outdated Links to Helm Repository
- kind: added
description: priorityClassName to deployments
artifacthub.io/screenshots: |
- title: Create your own online database without technical experience.
url: https://baserow.io/_nuxt/img/home_intro_screenshot.194c66b.png
Expand Down
4 changes: 4 additions & 0 deletions charts/baserow/README.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions charts/baserow/templates/asgi/asgi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ spec:
- name: media
mountPath: {{ .Values.backend.config.media.root | quote }}
{{- end }}
{{- if .Values.backend.asgi.priorityClassName }}
priorityClassName: {{ .Values.backend.asgi.priorityClassName }}
{{- end }}
{{- with .Values.backend.asgi.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/baserow/templates/celery/celery-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ spec:
- name: media
mountPath: {{ .Values.backend.config.media.root | quote }}
{{- end }}
{{- if .Values.backend.celery.priorityClassName }}
priorityClassName: {{ .Values.backend.celery.priorityClassName }}
{{- end }}
{{- with .Values.backend.celery.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/baserow/templates/frontend/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ spec:
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.frontend.priorityClassName }}
priorityClassName: {{ .Values.frontend.priorityClassName }}
{{- end }}
{{- with .Values.frontend.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/baserow/templates/wsgi/wsgi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ spec:
- name: media
mountPath: {{ .Values.backend.config.media.root | quote }}
{{- end }}
{{- if .Values.backend.wsgi.priorityClassName }}
priorityClassName: {{ .Values.backend.wsgi.priorityClassName }}
{{- end }}
{{- with .Values.backend.wsgi.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
12 changes: 12 additions & 0 deletions charts/baserow/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
}
}
},
"priorityClassName": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
Expand Down Expand Up @@ -190,6 +193,9 @@
}
}
},
"priorityClassName": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
Expand Down Expand Up @@ -592,6 +598,9 @@
}
}
},
"priorityClassName": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
Expand Down Expand Up @@ -832,6 +841,9 @@
}
}
},
"priorityClassName": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
Expand Down
12 changes: 12 additions & 0 deletions charts/baserow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ frontend:
runAsGroup: 9999
runAsUser: 9999

# -- Pod priority class name
priorityClassName: ""

# -- Number of replicas
replicaCount: 1

Expand Down Expand Up @@ -147,6 +150,9 @@ backend:
runAsGroup: 9999
runAsUser: 9999

# -- Pod priority class name
priorityClassName: ""

# -- Number of replicas
replicaCount: 1

Expand Down Expand Up @@ -233,6 +239,9 @@ backend:
runAsGroup: 9999
runAsUser: 9999

# -- Pod priority class name
priorityClassName: ""

# -- Number of replicas
replicaCount: 1

Expand Down Expand Up @@ -467,6 +476,9 @@ backend:
runAsGroup: 9999
runAsUser: 9999

# -- Pod priority class name
priorityClassName: ""

# -- Number of replicas
replicaCount: 1

Expand Down
Loading