Skip to content

Commit

Permalink
PharmaLedger-IMI/epi-workspace#1106 changed defaults in envJson and a…
Browse files Browse the repository at this point in the history
…pihubJson (#205)
  • Loading branch information
skutner authored Dec 15, 2022
1 parent ced3d3c commit 5a3ab5e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/epi/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.5.11
version: 0.5.12

# 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
8 changes: 4 additions & 4 deletions charts/epi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# epi

![Version: 0.5.11](https://img.shields.io/badge/Version-0.5.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.1](https://img.shields.io/badge/AppVersion-1.6.1-informational?style=flat-square)
![Version: 0.5.12](https://img.shields.io/badge/Version-0.5.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.1](https://img.shields.io/badge/AppVersion-1.6.1-informational?style=flat-square)

A Helm chart for Pharma Ledger epi (electronic product information) application

Expand Down Expand Up @@ -158,7 +158,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/epi --version=0.5.11 \
helm upgrade my-release-name pharmaledger-imi/epi --version=0.5.12 \
--install \
--values my-config.yaml \
```
Expand Down Expand Up @@ -364,7 +364,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/epi --version=0.5.11 \
helm upgrade my-release-name pharmaledger-imi/epi --version=0.5.12 \
--install \
--namespace=my-namespace \
--values my-config.yaml \
Expand All @@ -375,7 +375,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/epi --version=0.5.11 \
helm upgrade my-release-name pharmaledger-imi/epi --version=0.5.12 \
--install \
--wait --timeout=600s \
--values my-config.yaml \
Expand Down
9 changes: 5 additions & 4 deletions charts/epi/templates/_configmap-environment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ data:
"sw": false,
"pwa": false,
"allowPinLogin": false,
"companyName": {{ required "config.companyName must be set" .Values.config.companyName | quote }},
"disabledFeatures": "04, 05, 06, 07, 08, 09",
"companyName": "PLA",
"disabledFeatures": "02, 04, 05, 06, 07, 08, 09",
"lockFeatures": true,
"epiProtocolVersion": 1,
"appBuildVersion": {{ required "config.epiVersion must be set" .Values.config.epiVersion | quote}}
}
Expand All @@ -114,8 +115,8 @@ data:
"sw": false,
"pwa": false,
"allowPinLogin": false,
"lockFeatures": false,
"disabledFeatures": "04, 05, 06, 07, 08, 09",
"lockFeatures": true,
"disabledFeatures": "02, 04, 05, 06, 07, 08, 09",
"easterEggEnabled": true,
"epiProtocolVersion": 1,
"appBuildVersion": {{ required "config.epiVersion must be set" .Values.config.epiVersion | quote}}
Expand Down
9 changes: 8 additions & 1 deletion charts/epi/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ Configuration env.json
"PSK_CONFIG_LOCATION": "../apihub-root/external-volume/config",
"DEV": false,
"VAULT_DOMAIN": {{ required "config.vaultDomain must be set" .Values.config.vaultDomain | quote}},
"BUILD_SECRET_KEY": {{ required "config.buildSecretKey must be set" .Values.config.buildSecretKey | quote}}
"BUILD_SECRET_KEY": {{ required "config.buildSecretKey must be set" .Values.config.buildSecretKey | quote}},
"BDNS_ROOT_HOSTS": "http://127.0.0.1:8080",
"OPENDSU_ENABLE_DEBUG": true
}
{{- end }}

Expand Down Expand Up @@ -173,6 +175,7 @@ Taken from https://github.com/PharmaLedger-IMI/epi-workspace/blob/v1.3.1/apihub-
"epi-mapping-engine",
"epi-mapping-engine-results",
"leaflet-web-api",
"get-gtin-owner",
"acdc-reporting",
"debugLogger",
"mq",
Expand All @@ -192,6 +195,10 @@ Taken from https://github.com/PharmaLedger-IMI/epi-workspace/blob/v1.3.1/apihub-
"module": "./../../gtin-resolver",
"function": "getWebLeaflet"
},
"get-gtin-owner": {
"module": "./../../gtin-resolver",
"function": "getGTINOwner"
},
"acdc-reporting": {
"module": "./../../reporting-service/middleware",
"function": "Init"
Expand Down

0 comments on commit 5a3ab5e

Please sign in to comment.