diff --git a/charts/baserow/Chart.yaml b/charts/baserow/Chart.yaml index 94be1e99..f422cdac 100644 --- a/charts/baserow/Chart.yaml +++ b/charts/baserow/Chart.yaml @@ -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 @@ -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 diff --git a/charts/baserow/README.md b/charts/baserow/README.md index e2f93d29..d1e2b9eb 100644 --- a/charts/baserow/README.md +++ b/charts/baserow/README.md @@ -62,6 +62,7 @@ The command removes all the Kubernetes components associated with the chart and | backend.asgi.nodeSelector | object | `{}` | Node labels for pod assignment | | backend.asgi.podAnnotations | object | `{}` | Annotations to be added to the frontend pods | | backend.asgi.podSecurityContext | object | `{"fsGroup":9999,"runAsGroup":9999,"runAsUser":9999}` | pod-level security context | +| backend.asgi.priorityClassName | string | `""` | Pod priority class name | | backend.asgi.replicaCount | int | `1` | Number of replicas | | backend.asgi.resources | object | `{}` | Resource limits and requests for the controller pods. | | backend.asgi.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain | @@ -86,6 +87,7 @@ The command removes all the Kubernetes components associated with the chart and | backend.celery.nodeSelector | object | `{}` | Node labels for pod assignment | | backend.celery.podAnnotations | object | `{}` | Annotations to be added to the frontend pods | | backend.celery.podSecurityContext | object | `{"fsGroup":9999,"runAsGroup":9999,"runAsUser":9999}` | pod-level security context | +| backend.celery.priorityClassName | string | `""` | Pod priority class name | | backend.celery.replicaCount | int | `1` | Number of replicas | | backend.celery.resources | object | `{}` | Resource limits and requests for the controller pods. | | backend.celery.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain | @@ -185,6 +187,7 @@ The command removes all the Kubernetes components associated with the chart and | backend.wsgi.nodeSelector | object | `{}` | Node labels for pod assignment | | backend.wsgi.podAnnotations | object | `{}` | Annotations to be added to the frontend pods | | backend.wsgi.podSecurityContext | object | `{"fsGroup":9999,"runAsGroup":9999,"runAsUser":9999}` | pod-level security context | +| backend.wsgi.priorityClassName | string | `""` | Pod priority class name | | backend.wsgi.replicaCount | int | `1` | Number of replicas | | backend.wsgi.resources | object | `{}` | Resource limits and requests for the controller pods. | | backend.wsgi.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain | @@ -237,6 +240,7 @@ The command removes all the Kubernetes components associated with the chart and | frontend.nodeSelector | object | `{}` | Node labels for pod assignment | | frontend.podAnnotations | object | `{}` | Annotations to be added to the frontend pods | | frontend.podSecurityContext | object | `{"fsGroup":9999,"runAsGroup":9999,"runAsUser":9999}` | pod-level security context | +| frontend.priorityClassName | string | `""` | Pod priority class name | | frontend.replicaCount | int | `1` | Number of replicas | | frontend.resources | object | `{}` | Resource limits and requests for the controller pods. | | frontend.revisionHistoryLimit | int | `10` | The number of old ReplicaSets to retain | diff --git a/charts/baserow/templates/asgi/asgi-deployment.yaml b/charts/baserow/templates/asgi/asgi-deployment.yaml index 50aac91a..c87b742e 100644 --- a/charts/baserow/templates/asgi/asgi-deployment.yaml +++ b/charts/baserow/templates/asgi/asgi-deployment.yaml @@ -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 }} diff --git a/charts/baserow/templates/celery/celery-deployment.yaml b/charts/baserow/templates/celery/celery-deployment.yaml index 6c8bc5c6..01c771c2 100644 --- a/charts/baserow/templates/celery/celery-deployment.yaml +++ b/charts/baserow/templates/celery/celery-deployment.yaml @@ -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 }} diff --git a/charts/baserow/templates/frontend/frontend-deployment.yaml b/charts/baserow/templates/frontend/frontend-deployment.yaml index c4dfbc57..1478275b 100644 --- a/charts/baserow/templates/frontend/frontend-deployment.yaml +++ b/charts/baserow/templates/frontend/frontend-deployment.yaml @@ -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 }} diff --git a/charts/baserow/templates/wsgi/wsgi-deployment.yaml b/charts/baserow/templates/wsgi/wsgi-deployment.yaml index a0e3df43..1a14a308 100644 --- a/charts/baserow/templates/wsgi/wsgi-deployment.yaml +++ b/charts/baserow/templates/wsgi/wsgi-deployment.yaml @@ -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 }} diff --git a/charts/baserow/values.schema.json b/charts/baserow/values.schema.json index dbb5e3be..1c90313c 100644 --- a/charts/baserow/values.schema.json +++ b/charts/baserow/values.schema.json @@ -71,6 +71,9 @@ } } }, + "priorityClassName": { + "type": "string" + }, "replicaCount": { "type": "integer" }, @@ -190,6 +193,9 @@ } } }, + "priorityClassName": { + "type": "string" + }, "replicaCount": { "type": "integer" }, @@ -592,6 +598,9 @@ } } }, + "priorityClassName": { + "type": "string" + }, "replicaCount": { "type": "integer" }, @@ -832,6 +841,9 @@ } } }, + "priorityClassName": { + "type": "string" + }, "replicaCount": { "type": "integer" }, diff --git a/charts/baserow/values.yaml b/charts/baserow/values.yaml index 547e9ba5..50bc6f0a 100644 --- a/charts/baserow/values.yaml +++ b/charts/baserow/values.yaml @@ -26,6 +26,9 @@ frontend: runAsGroup: 9999 runAsUser: 9999 + # -- Pod priority class name + priorityClassName: "" + # -- Number of replicas replicaCount: 1 @@ -147,6 +150,9 @@ backend: runAsGroup: 9999 runAsUser: 9999 + # -- Pod priority class name + priorityClassName: "" + # -- Number of replicas replicaCount: 1 @@ -233,6 +239,9 @@ backend: runAsGroup: 9999 runAsUser: 9999 + # -- Pod priority class name + priorityClassName: "" + # -- Number of replicas replicaCount: 1 @@ -467,6 +476,9 @@ backend: runAsGroup: 9999 runAsUser: 9999 + # -- Pod priority class name + priorityClassName: "" + # -- Number of replicas replicaCount: 1