Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pre-relase branches #663

Open
wants to merge 125 commits into
base: feat/fx-impl
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
e0d513d
pre-relase branches
kalinkrustev Oct 17, 2024
d597003
fix typo
kalinkrustev Oct 17, 2024
96b9889
Merge branch 'feat/fx-impl' into minor/iso
kalinkrustev Oct 17, 2024
e5b2940
Merge branch 'feat/fx-impl' of https://github.com/mojaloop/helm into …
vijayg10 Oct 17, 2024
a8dadf0
trigger downstream
kalinkrustev Oct 18, 2024
fede368
feat(csi-106): add support of ISO20022 (ALS, QS, TTK) (#661)
geka-evk Oct 23, 2024
a0d6b27
feat(csi-107): updated QS version to v15.9.0-iso.6
geka-evk Oct 24, 2024
96d1aef
fix: versions
vijayg10 Oct 24, 2024
17736e6
fix: versions
vijayg10 Oct 24, 2024
83b5bb4
fix: versions
vijayg10 Oct 25, 2024
8250864
fix: transformer
vijayg10 Oct 25, 2024
522eab3
fix: ttk cli
vijayg10 Oct 25, 2024
7bac180
fix: ttk provisioning
vijayg10 Oct 25, 2024
d172ac7
feat(csi-107): updated QS version to v15.9.0-iso.8
geka-evk Oct 25, 2024
9f857bb
Merge branch 'minor/iso' of github.com:mojaloop/helm into minor/iso
geka-evk Oct 25, 2024
153e1bd
chore: version bumps
vijayg10 Oct 25, 2024
66fc35f
chore: update ttk
vijayg10 Oct 25, 2024
a1e718b
fix: ttk
vijayg10 Oct 25, 2024
fd1dafb
fix: versions
vijayg10 Oct 25, 2024
c78e849
chore: bump ml-api
vijayg10 Oct 28, 2024
c758bf9
fix: fx
vijayg10 Oct 28, 2024
dc8f223
wait for GitHub Pages to publish
kalinkrustev Oct 29, 2024
1854e97
chore: cl bump
vijayg10 Oct 29, 2024
e5bf508
chore: bump ttk
vijayg10 Oct 29, 2024
a33b441
chore: labels change
vijayg10 Oct 29, 2024
0d0e791
chore: test cases bump
vijayg10 Oct 29, 2024
e5e6813
Merge branch 'minor/iso' of https://github.com/mojaloop/helm into min…
vijayg10 Oct 29, 2024
5c34f7a
chore: ml-api bump
vijayg10 Oct 29, 2024
3d94a1a
feat(csi-107): updated SDK version to v23.6.0-snapshot.18
geka-evk Oct 29, 2024
666f910
feat(csi-107): updated SDK version to v23.6.0-snapshot.18
geka-evk Oct 29, 2024
6a11661
chore: test cases tag
vijayg10 Oct 29, 2024
6bf6c32
fix: interscheme tests
vijayg10 Oct 29, 2024
653fee0
chore: mlapi bump
vijayg10 Oct 29, 2024
ecd5fca
fix: original payload storage
vijayg10 Oct 29, 2024
cf5678c
feat(csi-107): updated SDK version to v23.6.0-snapshot.19
geka-evk Oct 29, 2024
a24f340
feat(csi-107): updated SDK version to v23.6.0-snapshot.19
geka-evk Oct 29, 2024
31b9b97
feat(csi-107): updated SDK version to v23.6.0-snapshot.19
geka-evk Oct 29, 2024
d4a2d5d
feat(csi-107): updated SDK version to v23.6.0-snapshot.19
geka-evk Oct 29, 2024
eabc6d4
feat(csi-107): updated QS to v15.9.0-iso.10
geka-evk Oct 30, 2024
b266364
feat(csi-107): updated SDK to v23.6.0-snapshot.20
geka-evk Oct 30, 2024
fe40316
chore: bump core services
vijayg10 Oct 30, 2024
6a6eab5
fix: ttk env variable
vijayg10 Oct 30, 2024
70e5506
chore: downgraded qs
vijayg10 Oct 30, 2024
b14e5c2
feat(csi-107): updated SDK to v23.6.0-snapshot.21
geka-evk Oct 30, 2024
d4d3d14
chore: bump
vijayg10 Oct 30, 2024
475f924
feat(csi-107): updated SDK to v23.6.0-snapshot.24
geka-evk Oct 30, 2024
3a7ab95
feat(csi-107): updated SDK to v23.6.0-snapshot.25
geka-evk Oct 30, 2024
c4cf384
chore: bump ttk test cases
vijayg10 Oct 30, 2024
347fdac
chore: update versions
kleyow Oct 31, 2024
283628d
feat(csi-107): updated SDK version to v23.6.0-snapshot.31; TTK to v18…
geka-evk Oct 31, 2024
a761b1b
feat(csi-107): updated SDK, QS, TTK
geka-evk Nov 1, 2024
d980a24
fix: ttk rule
vijayg10 Nov 1, 2024
f627c88
chore: added ttk env API_TYPE
vijayg10 Nov 1, 2024
2359e1f
chore: variable
vijayg10 Nov 1, 2024
81586d0
fix: ttk
vijayg10 Nov 1, 2024
0b07a06
fix: input values
vijayg10 Nov 1, 2024
a8a947b
chore: update ttk tag
vijayg10 Nov 1, 2024
4f8d1a8
chore: fix spelling of variable that result in invalid param in ttk (…
kleyow Nov 3, 2024
49b5530
feat(csi-107): updated TTK-test-cases to v17.0.0-iso.17
geka-evk Nov 4, 2024
72093ad
fix: TTK inbound event
vijayg10 Nov 4, 2024
d8ec587
chore: update ttk test cases tag
vijayg10 Nov 4, 2024
e9e39af
chore: ttk standard release
vijayg10 Nov 4, 2024
0a612f0
chore: ttk tag
vijayg10 Nov 4, 2024
c72ddcc
feat(csi-107): updated TTK-test-cases to v17.0.0-iso.21
geka-evk Nov 4, 2024
26d3856
chore: ttk tag update
vijayg10 Nov 4, 2024
1203acf
feat(csi-107): updated TTK-test-cases to v17.0.0-iso.23
geka-evk Nov 5, 2024
3de7f5d
fix: assertions
vijayg10 Nov 5, 2024
b73010b
Merge branch 'minor/iso' of https://github.com/mojaloop/helm into min…
vijayg10 Nov 5, 2024
2d709f8
chore: bump ml and sdk
oderayi Nov 5, 2024
d31b521
chore: bump test-cases
oderayi Nov 5, 2024
66f8a1a
chore: sdk update
vijayg10 Nov 5, 2024
59fb46f
fix: ttk and rules
vijayg10 Nov 5, 2024
363bb3d
chore: bump versions
vijayg10 Nov 5, 2024
4933d76
chore: test case bump
vijayg10 Nov 5, 2024
82edf58
chore: ttk bump
vijayg10 Nov 5, 2024
8710e22
fix: tests
vijayg10 Nov 5, 2024
f73c657
chore: update sdk
vijayg10 Nov 5, 2024
24767a4
chore: bump ml-api-adapter
vijayg10 Nov 6, 2024
737dd9a
fix: issues
vijayg10 Nov 6, 2024
9a2620e
feat: added msisdn oracle
vijayg10 Nov 8, 2024
42b03b3
fix: als oracle
vijayg10 Nov 8, 2024
70ac898
chore: test case bump
kalinkrustev Nov 11, 2024
c30ccdf
feat: enable als msisdn oracle
vijayg10 Nov 13, 2024
cfc0256
fix: ttk testcases tag
vijayg10 Nov 13, 2024
8a590a9
feat: enable non-json overrides
kalinkrustev Nov 14, 2024
0c6e065
feat: enable non-json overrides
kalinkrustev Nov 14, 2024
1f76dd2
feat: ttk metrics
kalinkrustev Nov 14, 2024
1856498
fix: ternary operator args
kalinkrustev Nov 14, 2024
c10d2af
fix: volume names
kalinkrustev Nov 14, 2024
65c48e6
fix: volume names
kalinkrustev Nov 14, 2024
cf7fc95
fix: QS config mounts
kalinkrustev Nov 14, 2024
79fb644
fix: QS config mounts
kalinkrustev Nov 14, 2024
e307e1c
fix: set TTK port name to enable monitoring
kalinkrustev Nov 15, 2024
ec3e4e0
fix: move the migration from the init container to a job (#668)
kalinkrustev Nov 19, 2024
69aa1d3
fix: add helm hooks for pre-install and pre-upgrade in config templates
kalinkrustev Nov 20, 2024
4b082f7
fix: add helm annotations for pre-install and pre-upgrade hooks in co…
kalinkrustev Nov 20, 2024
a4c4f47
feat(csi-128): updated SDK version to v23.6.0-iso.5
geka-evk Nov 20, 2024
1b67973
fix: participant resource version change
vijayg10 Nov 21, 2024
1a8d28a
feat: apply topology spread to the critical services (#669)
kalinkrustev Nov 27, 2024
3d5b7d1
fix: topologySpreadConstraints whitespace
kalinkrustev Nov 27, 2024
63181ed
chore: doc
vijayg10 Nov 28, 2024
be55aef
chore: update test case version (#670)
kleyow Nov 29, 2024
91d1646
chore: disabled simple routing mode in sample values
vijayg10 Nov 29, 2024
c38ec94
Merge branch 'minor/iso' of https://github.com/mojaloop/helm into min…
vijayg10 Nov 29, 2024
cd1bfd8
fix: ttk rules
vijayg10 Nov 29, 2024
b164199
feat(csi-968): updated msisdn-oracle
geka-evk Dec 2, 2024
82caeee
fix(csi-977): als-msisdn-oracle v0.0.10
geka-evk Dec 4, 2024
8a494f1
fix(csi-977): als-msisdn-oracle v0.0.11
geka-evk Dec 4, 2024
f9d6bf1
fix(csi-977): als-msisdn-oracle v0.0.12
geka-evk Dec 5, 2024
c8ac0d1
chore: add config that exposes liveness/readiness metrics (#671)
kleyow Dec 9, 2024
36c9e3d
chore: bump versions
vijayg10 Dec 12, 2024
d610ccd
fix: test
vijayg10 Dec 12, 2024
b00c339
fix(csi-975): updated ttk-backed version, and some other services
geka-evk Dec 16, 2024
90e9ebb
feat(csi-704): added rollingUpdate to handlers (#672)
geka-evk Dec 20, 2024
4d70755
fix: upgrade ttk backend and other services, fix mongodb startup issu…
oderayi Dec 20, 2024
fadac32
Merge branch 'minor/iso' of github.com:mojaloop/helm into minor/iso
oderayi Dec 20, 2024
4b8e74b
fix: disable extravars for mongodb by default
oderayi Dec 20, 2024
95ed8b6
feat(csi-704): add PDB for handlers (#674)
geka-evk Jan 8, 2025
442ed3a
feat(csi-626): add inter-scheme proxy adapter (#673)
oderayi Jan 10, 2025
e3cb327
remove duplicate labels
kalinkrustev Jan 10, 2025
380699c
fix: simulator intermittent failures to start
kalinkrustev Jan 10, 2025
33c99d2
fix: remove unnecessary quotes in values.yaml for port configurations
kalinkrustev Jan 10, 2025
69695a7
fix: remove unsupported value reference
kalinkrustev Jan 11, 2025
a907c2f
fix: correct indentation in deployment.yaml for probe configurations
kalinkrustev Jan 11, 2025
04ad673
fix: bump ttk cases version
kleyow Jan 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defaults_Environment: &defaults_environment
helm repo add elastic https://helm.elastic.co
helm repo add codecentric https://codecentric.github.io/helm-charts
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add mojaloop-charts https://mojaloop.github.io/charts/repo
helm repo add mojaloop-charts https://mojaloop.github.io/charts/repo
helm repo add redpanda https://charts.redpanda.com
helm repo update

Expand Down Expand Up @@ -173,6 +173,11 @@ jobs:
echo "export GIT_RELEASE_URL=${GIT_PROJECT_URL}/releases/tag/${CIRCLE_TAG}" >> $BASH_ENV
echo "export GIT_RELEASE_TAG='${CIRCLE_TAG}@${CIRCLE_SHA1:0:7}'" >> $BASH_ENV
echo "export GIT_RELEASE_TYPE='Helm Snapshot'" >> $BASH_ENV
elif [[ $CIRCLE_BRANCH =~ ^(major|minor|patch)/(.*)$ ]]; then
echo "Setting env configs for Helm Pre-Release"
echo "export GIT_RELEASE_URL=${GIT_PROJECT_URL}/commit/${CIRCLE_SHA1}" >> $BASH_ENV
echo "export GIT_RELEASE_TAG=${BASH_REMATCH[2]}.${CIRCLE_BUILD_NUM}" >> $BASH_ENV
echo "export GIT_RELEASE_TYPE='Helm Pre-Release'" >> $BASH_ENV
else
echo "CIRCLE_SHA1=${CIRCLE_SHA1} exists setting env configs for Helm Snapshot"
echo "export GIT_RELEASE_URL=${GIT_PROJECT_URL}/commit/${CIRCLE_SHA1}" >> $BASH_ENV
Expand Down Expand Up @@ -203,6 +208,25 @@ jobs:
- run:
name: Publish Helm Charts
command: .circleci/publish_helm_charts.sh
- run:
name: Trigger downstream workflows
# DOWNSTREAM_IMAGE_ variables contain downstream repository:token pairs
command: |
DOWNSTREAM=$(compgen -A variable | grep "^DOWNSTREAM_IMAGE_")
if [ -n "$DOWNSTREAM" ]; then
echo "wait for GitHub Pages to publish"
sleep 180
fi
for var in $DOWNSTREAM; do
REPO_NAME=$(echo "${!var}" | cut -d: -f1)
echo "Triggering downstream workflow for $REPO_NAME"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $(echo "${!var}" | cut -d: -f2)" \
https://api.github.com/repos/"$REPO_NAME"/actions/workflows/docker-image.yaml/dispatches \
-d '{"ref":"main","inputs":{"upstream":"'"$CIRCLE_BUILD_URL"'","chart":"mojaloop","tag":"'"$GIT_RELEASE_TAG"'"}}'
done
- slack/notify:
event: pass
template: SLACK_TEMP_RELEASE_SUCCESS
Expand Down Expand Up @@ -249,4 +273,4 @@ workflows:
tags:
only: /v[0-9]+(\.[0-9]+)*(\-snapshot+((\.[0-9]+)?))?/
branches:
only: main
only: /main|(major|minor|patch)/.*/
6 changes: 3 additions & 3 deletions account-lookup-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
version: 15.4.0
appVersion: "account-lookup-service: v15.4.0; als-oracle-pathfinder: v12.1.0"
version: 15.6.0
appVersion: "account-lookup-service: v15.6.0; als-oracle-pathfinder: v12.1.0"
description: Account Lookup Service Helm Chart for Mojaloop
name: account-lookup-service
maintainers:
Expand All @@ -27,6 +27,6 @@ dependencies:
condition: als-oracle-pathfinder.enabled
- name: common
repository: "https://mojaloop.github.io/charts/repo"
version: 3.0.0
version: 3.1.1
tags:
- moja-common
2 changes: 1 addition & 1 deletion account-lookup-service/chart-admin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ maintainers:
dependencies:
- name: common
repository: "https://mojaloop.github.io/charts/repo"
version: 3.0.0
version: 3.1.1
tags:
- moja-common
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ metadata:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
data:
{{- range $fileName, $fileContents := .Values.configOverride }}
{{ $fileName | replace "/" "-" }}: | {{ $fileContents | toPrettyJson | nindent 4 }}
{{ $fileName | replace "/" "-" }}: | {{ ternary $fileContents (toPrettyJson $fileContents) (eq (typeOf $fileContents) "string") | nindent 4 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
# prometheus.io/scrape: "true"
# {{- end }}
spec:
{{- include "common.topologySpread" . | nindent 6 }}
initContainers:
{{- if .Values.initContainers }}
{{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
Expand All @@ -71,6 +72,12 @@ spec:
args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
{{- end }}
env:
{{- if .Values.env }}
{{- range $key, $val := .Values.env }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{- end }}
- name: ALS_DATABASE__PASSWORD
{{- if .Values.config.db_secret }}
valueFrom:
Expand Down
9 changes: 7 additions & 2 deletions account-lookup-service/chart-admin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.3.4
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -251,7 +251,7 @@ config:
cluster:
- host: proxy-cache-redis
port: 6379

## Handlers configuration
handlers:
DISABLED: true
Expand All @@ -262,6 +262,10 @@ config:
TIMEZONE: "UTC"
BATCH_SIZE: 100

## To pass arbitrary environment variables to the deployment
#env:
# KEY: value

## @param initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
Expand Down Expand Up @@ -438,3 +442,4 @@ resources: {}
# requests:
# cpu: 100m
# memory: 128Mi

4 changes: 2 additions & 2 deletions account-lookup-service/chart-handler-timeout/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
version: 1.0.0
appVersion: v15.4.0-snapshot.33
appVersion: v15.6.0-iso.19
description: A Helm chart for Kubernetes
name: account-lookup-service-handler-timeout
maintainers:
Expand All @@ -9,6 +9,6 @@ maintainers:
dependencies:
- name: common
repository: "https://mojaloop.github.io/charts/repo"
version: 3.0.0
version: 3.1.1
tags:
- moja-common
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"ADMIN_PORT": 4001,
"API_PORT": {{ .Values.service.internalPort }},
"API_TYPE": {{ .Values.config.api_type | quote }},
"PROTOCOL_VERSIONS": {{ .Values.config.protocol_versions | toPrettyJson }},
"DATABASE": {
"DIALECT": "{{ .Values.config.db_driver }}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ metadata:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
data:
{{- range $fileName, $fileContents := .Values.configOverride }}
{{ $fileName | replace "/" "-" }}: | {{ $fileContents | toPrettyJson | nindent 4 }}
{{ $fileName | replace "/" "-" }}: | {{ ternary $fileContents (toPrettyJson $fileContents) (eq (typeOf $fileContents) "string") | nindent 4 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
prometheus.io/scrape: "true"
{{- end }}
spec:
{{- include "common.topologySpread" . | nindent 6 }}
initContainers:
{{- if .Values.initContainers }}
{{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
Expand All @@ -71,6 +72,12 @@ spec:
args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
{{- end }}
env:
{{- if .Values.env }}
{{- range $key, $val := .Values.env }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{- end }}
- name: ALS_DATABASE__PASSWORD
{{- if .Values.config.db_secret }}
valueFrom:
Expand Down
8 changes: 7 additions & 1 deletion account-lookup-service/chart-handler-timeout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.4.0-snapshot.33
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -124,6 +124,8 @@
serviceName: account-lookup-service-handler-timeout

config:
## fspiop or iso20022
api_type: fspiop
hub_participant:
id: 1
name: Hub
Expand Down Expand Up @@ -226,7 +228,7 @@
# Public:
# openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
# Should look like:
# -----BEGIN RSA PRIVATE KEY-----

Check failure

Code scanning / SonarCloud

Cryptographic private keys should not be disclosed

<!--SONAR_ISSUE_KEY:AZRHLc7iWzVqR9XXQ5Rx-->Make sure this private key gets revoked, changed, and removed from the code. <p>See more on <a href="https://sonarcloud.io/project/issues?id=mojaloop_helm&issues=AZRHLc7iWzVqR9XXQ5Rx&open=AZRHLc7iWzVqR9XXQ5Rx&pullRequest=675">SonarQube Cloud</a></p>
# MIIJKQIBAAKCAgEAxfqaZivMPd4MpdBHu0jVMf3MSuSdkSMHn+sNJdDQfl+x4R5R
# ..
# ..
Expand Down Expand Up @@ -264,6 +266,10 @@
TIMEZONE: "UTC"
BATCH_SIZE: 100

## To pass arbitrary environment variables to the deployment
#env:
# KEY: value

## @param initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
Expand Down
2 changes: 1 addition & 1 deletion account-lookup-service/chart-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ maintainers:
dependencies:
- name: common
repository: "https://mojaloop.github.io/charts/repo"
version: 3.0.0
version: 3.1.1
tags:
- moja-common
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"ADMIN_PORT": 4001,
"API_PORT": {{ .Values.service.internalPort }},
"API_TYPE": {{ .Values.config.api_type | quote }},
"PROTOCOL_VERSIONS": {{ .Values.config.protocol_versions | toPrettyJson }},
"DATABASE": {
"DIALECT": "{{ .Values.config.db_driver }}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ metadata:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
data:
{{- range $fileName, $fileContents := .Values.configOverride }}
{{ $fileName | replace "/" "-" }}: | {{ $fileContents | toPrettyJson | nindent 4 }}
{{ $fileName | replace "/" "-" }}: | {{ ternary $fileContents (toPrettyJson $fileContents) (eq (typeOf $fileContents) "string") | nindent 4 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
prometheus.io/scrape: "true"
{{- end }}
spec:
{{- include "common.topologySpread" . | nindent 6 }}
initContainers:
{{- if .Values.initContainers }}
{{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
Expand All @@ -71,6 +72,12 @@ spec:
args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
{{- end }}
env:
{{- if .Values.env }}
{{- range $key, $val := .Values.env }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{- end }}
- name: ALS_DATABASE__PASSWORD
{{- if .Values.config.db_secret }}
valueFrom:
Expand Down
10 changes: 8 additions & 2 deletions account-lookup-service/chart-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.4.0-snapshot.33
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -124,6 +124,8 @@ metrics:
serviceName: account-lookup-service

config:
## fspiop | iso20022
api_type: fspiop
hub_participant:
id: 1
name: Hub
Expand Down Expand Up @@ -253,7 +255,7 @@ config:
cluster:
- host: proxy-cache-redis
port: 6379

## Handlers configuration
handlers:
DISABLED: true
Expand All @@ -264,6 +266,10 @@ config:
TIMEZONE: "UTC"
BATCH_SIZE: 100

## To pass arbitrary environment variables to the deployment
#env:
# KEY: value

## @param initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
Expand Down
10 changes: 5 additions & 5 deletions account-lookup-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.4.0-snapshot.33
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -344,7 +344,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.3.4
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -704,7 +704,7 @@
image:
registry: docker.io
repository: mojaloop/account-lookup-service
tag: v15.4.0-snapshot.33
tag: v15.6.0-iso.19
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -854,7 +854,7 @@
# Public:
# openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
# Should look like:
# -----BEGIN RSA PRIVATE KEY-----

Check failure

Code scanning / SonarCloud

Cryptographic private keys should not be disclosed

<!--SONAR_ISSUE_KEY:AZRHLc8UWzVqR9XXQ5Ry-->Make sure this private key gets revoked, changed, and removed from the code. <p>See more on <a href="https://sonarcloud.io/project/issues?id=mojaloop_helm&issues=AZRHLc8UWzVqR9XXQ5Ry&open=AZRHLc8UWzVqR9XXQ5Ry&pullRequest=675">SonarQube Cloud</a></p>
# MIIJKQIBAAKCAgEAxfqaZivMPd4MpdBHu0jVMf3MSuSdkSMHn+sNJdDQfl+x4R5R
# ..
# ..
Expand All @@ -871,7 +871,7 @@
cluster:
- host: proxy-cache-redis
port: 6379

handlers:
DISABLED: true
MONITORING_PORT: 4003
Expand Down Expand Up @@ -1032,7 +1032,7 @@
# hosts:
# - chart-example.local
resources: {}


als-oracle-pathfinder:
enabled: false
Expand Down
Empty file added als-msisdn-oracle/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions als-msisdn-oracle/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: v2
description: als-msisdn-oracle chart for Mojaloop Services
name: als-msisdn-oracle
version: 0.0.1
appVersion: v0.0.14
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
- https://github.com/mojaloop/mojaloop
- https://github.com/mojaloop/helm
- https://github.com/mojaloop/als-msisdn-oracle-svc
maintainers:
- name: Vijay Kumar Guthi
email: [email protected]
dependencies:
- name: common
repository: https://mojaloop.github.io/charts/repo
version: 3.1.1
tags:
- moja-common
12 changes: 12 additions & 0 deletions als-msisdn-oracle/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# MSISDN-Oracle

MSISDN-Oracle is an Oracle for the Account Lookup Service.


## Dependencies

This chart has the following dependencies:
- mysql

See `example_dependencies.yaml` for a simple example of installing and using the chart
with base dependencies.
Loading
Loading