From 615384e961cd82210b3d77da7181025a74361625 Mon Sep 17 00:00:00 2001 From: Mastaleru Rafael Date: Thu, 13 Oct 2022 10:40:44 +0300 Subject: [PATCH] set mq_fsQueueLength (#186) --- charts/iot/Chart.yaml | 2 +- charts/iot/README.md | 16 ++++++++++++---- charts/iot/templates/_configmap-domains.tpl | 12 ++++++++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/charts/iot/Chart.yaml b/charts/iot/Chart.yaml index 233aa6d1..e1b9c158 100644 --- a/charts/iot/Chart.yaml +++ b/charts/iot/Chart.yaml @@ -15,7 +15,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: 0.1.0 +version: 0.1.1 # 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/charts/iot/README.md b/charts/iot/README.md index 1537bab7..a19bbdd0 100644 --- a/charts/iot/README.md +++ b/charts/iot/README.md @@ -1,6 +1,7 @@ # eco-iot -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.1.8](https://img.shields.io/badge/AppVersion-v1.1.8-informational?style=flat-square) + +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.1.8](https://img.shields.io/badge/AppVersion-v1.1.8-informational?style=flat-square) A Helm chart for Pharma Ledger e-Consent and I0T applications @@ -19,6 +20,8 @@ A Helm chart for Pharma Ledger e-Consent and I0T applications - [Here](./README.md#values) is a full list of all configuration values. - The [values.yaml file](./values.yaml) shows the raw view of all configuration values. + + ## Helm Lifecycle and Kubernetes Resources Lifetime This helm chart uses Helm [hooks](https://helm.sh/docs/topics/charts_hooks/) in order to install, upgrade and manage the application and its resources. @@ -60,6 +63,7 @@ The Init Job is required to run the build process and to store the SeedsBackup i - It is only necessary to run/deploy the Init Job on installation and on subsequent software changes (=helm upgrade in combination with use of a different image than before). - Therefore the Init Job will only be deployed on installation and on helm upgrades if the image has changed. + ### Init Job Details The pod consists an init containers and a main container. @@ -122,7 +126,7 @@ It is recommended to put non-sensitive configuration values in an configuration 2. Install via helm to namespace `default` ```bash - helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.0 \ + helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.1 \ --install \ --values my-config.yaml \ ``` @@ -222,7 +226,7 @@ Run `helm upgrade --helm` for full list of options. You can install into other namespace than `default` by setting the `--namespace` parameter, e.g. ```bash - helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.0 \ + helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.1 \ --install \ --namespace=my-namespace \ --values my-config.yaml \ @@ -233,7 +237,7 @@ Run `helm upgrade --helm` for full list of options. Provide the `--wait` argument and time to wait (default is 5 minutes) via `--timeout` ```bash - helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.0 \ + helm upgrade my-release-name pharmaledger-imi/iot --version=0.1.1 \ --install \ --wait --timeout=600s \ --values my-config.yaml \ @@ -257,12 +261,15 @@ Run `helm upgrade --helm` for full list of options. [helm-unittest](https://github.com/quintush/helm-unittest) is being used for testing the output of the helm chart. Tests can be found in [tests](./tests) + ## Maintainers | Name | Email | Url | | ---- | ------ | --- | | tgip-work | | | + + ## Values *Note:* Please scroll horizontally to show more columns (e.g. description)! @@ -325,5 +332,6 @@ Tests can be found in [tests](./tests) | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | tolerations | list | `[]` | Tolerations for scheduling a pod. See [https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) | + ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/charts/iot/templates/_configmap-domains.tpl b/charts/iot/templates/_configmap-domains.tpl index 0e207edd..ed273f9d 100644 --- a/charts/iot/templates/_configmap-domains.tpl +++ b/charts/iot/templates/_configmap-domains.tpl @@ -29,7 +29,8 @@ data: "skipOAuth": [ "/bricking/{{ required "config.domain must be set" .Values.config.domain }}/get-brick" ], - "enable": ["mq", "enclave"] + "enable": ["mq", "enclave"], + "mq_fsQueueLength": 20000 } {{ required "config.subDomain must be set" .Values.config.subDomain }}.json: |- @@ -43,7 +44,8 @@ data: "skipOAuth": [ "/bricking/{{ required "config.subDomain must be set" .Values.config.subDomain }}/get-brick" ], - "enable": ["mq", "enclave"] + "enable": ["mq", "enclave"], + "mq_fsQueueLength": 20000 } {{ required "config.vaultDomain must be set" .Values.config.vaultDomain }}.json: |- @@ -58,7 +60,8 @@ data: "/bricking/{{ required "config.vaultDomain must be set" .Values.config.vaultDomain }}", "/anchor/{{ required "config.vaultDomain must be set" .Values.config.vaultDomain }}" ], - "enable": ["mq", "enclave"] + "enable": ["mq", "enclave"], + "mq_fsQueueLength": 20000 } default.json: |- @@ -76,7 +79,8 @@ data: "/bricking/{{ required "config.vaultDomain must be set" .Values.config.vaultDomain }}", "/anchor/{{ required "config.vaultDomain must be set" .Values.config.vaultDomain }}" ], - "enable": ["mq", "enclave"] + "enable": ["mq", "enclave"], + "mq_fsQueueLength": 20000 } {{- end }}