diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 01e7d0842..fe2c85708 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 4.1.3 +version: 4.1.11 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm/templates/cronjob.yaml b/helm/templates/cronjob.yaml index 992662976..24dbc6731 100644 --- a/helm/templates/cronjob.yaml +++ b/helm/templates/cronjob.yaml @@ -16,6 +16,8 @@ spec: - name: mongodb image: {{ include "common.images.image" (dict "imageRoot" .Values.mongodb.image "global" .Values.global) }} imagePullPolicy: IfNotPresent + resources: + {{- toYaml .Values.cronJob.resources | nindent 16 }} volumeMounts: - name: export mountPath: /export diff --git a/helm/values.yaml b/helm/values.yaml index 90d6070f6..e2d337ee5 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -142,6 +142,14 @@ cronJob: timeZone: UTC persistence: size: 5Gi + resources: + requests: + cpu: "50m" + memory: "256Mi" + limits: + cpu: "250m" + memory: "1Gi" + hpa: cron: diff --git a/package-lock.json b/package-lock.json index 52ea3d3f7..decf7cc5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "notify-bc", - "version": "4.1.10", + "version": "4.1.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "notify-bc", - "version": "4.1.10", + "version": "4.1.11", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index ac041eabe..25b13e2de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notify-bc", - "version": "4.1.10", + "version": "4.1.11", "dbSchemaVersion": "0.8.0", "description": "A versatile notification API server", "keywords": [