From 47f10b19dbd0e21ff5a59941f7be753f1f700fc7 Mon Sep 17 00:00:00 2001 From: Innocent Lou Date: Fri, 25 Nov 2022 15:39:11 +0300 Subject: [PATCH 1/3] add priority class --- charts/kobotoolbox/templates/kobo-deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/kobotoolbox/templates/kobo-deploy.yaml b/charts/kobotoolbox/templates/kobo-deploy.yaml index dbe0c82..0bf0d52 100644 --- a/charts/kobotoolbox/templates/kobo-deploy.yaml +++ b/charts/kobotoolbox/templates/kobo-deploy.yaml @@ -22,6 +22,7 @@ spec: labels: org.kobotoolbox.instance: {{ .Release.Name }}-kobo spec: + priorityClassName: {{ .Values.priorityClass }} # Define internal host names since we're doing host-based routing hostAliases: - ip: "127.0.0.1" From d985f0838ef2a9c961b8e67a5598285a6aec6f19 Mon Sep 17 00:00:00 2001 From: Innocent Lou Date: Fri, 25 Nov 2022 15:39:32 +0300 Subject: [PATCH 2/3] add priority class --- charts/kobotoolbox/values.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kobotoolbox/values.yaml b/charts/kobotoolbox/values.yaml index a82a870..2c15cec 100644 --- a/charts/kobotoolbox/values.yaml +++ b/charts/kobotoolbox/values.yaml @@ -1,6 +1,8 @@ probes: enabled: true +priorityClass: system-cluster-critical + nginx: image: name: nginx From b8c915a798f69a4db4077c54351e17ef1226c69d Mon Sep 17 00:00:00 2001 From: Innocent Lou Date: Fri, 25 Nov 2022 15:55:17 +0300 Subject: [PATCH 3/3] bump version --- charts/kobotoolbox/Chart.yaml | 2 +- charts/kobotoolbox/README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/kobotoolbox/Chart.yaml b/charts/kobotoolbox/Chart.yaml index aa1212a..307343b 100644 --- a/charts/kobotoolbox/Chart.yaml +++ b/charts/kobotoolbox/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: kobotoolbox -version: 0.6.17 +version: 0.6.18 description: KoboToolbox field data collection solution home: https://www.kobotoolbox.org/ icon: https://avatars.githubusercontent.com/u/5543677?s=400&v=4 diff --git a/charts/kobotoolbox/README.md b/charts/kobotoolbox/README.md index 116ade7..4269245 100644 --- a/charts/kobotoolbox/README.md +++ b/charts/kobotoolbox/README.md @@ -1,6 +1,6 @@ # kobotoolbox -![Version: 0.6.17](https://img.shields.io/badge/Version-0.6.17-informational?style=flat-square) +![Version: 0.6.18](https://img.shields.io/badge/Version-0.6.18-informational?style=flat-square) KoboToolbox field data collection solution @@ -90,6 +90,7 @@ $ helm install my-release one-acre-fund/kobotoolbox | postgresql.enabled | bool | `true` | Install Postgres? | | postgresql.kobocatDatabase | string | `"kobocat"` | DB name for the form server | | postgresql.kpiDatabase | string | `"koboform"` | DN name for the main Kobo UI | +| priorityClass | string | `"system-cluster-critical"` | | | probes.enabled | bool | `true` | | | rediscache.architecture | string | `"standalone"` | | | rediscache.enabled | bool | `true` | |