Skip to content

Commit

Permalink
set mq_fsQueueLength (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastaleru authored Oct 13, 2022
1 parent a74da15 commit 615384e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/iot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 12 additions & 4 deletions charts/iot/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 \
```
Expand Down Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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 | | <https://github.com/tgip-work> |



## Values

*Note:* Please scroll horizontally to show more columns (e.g. description)!
Expand Down Expand Up @@ -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)
12 changes: 8 additions & 4 deletions charts/iot/templates/_configmap-domains.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand All @@ -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: |-
Expand All @@ -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: |-
Expand All @@ -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 }}
Expand Down

0 comments on commit 615384e

Please sign in to comment.