diff --git a/mojaloop/requirements.yaml b/mojaloop/requirements.yaml index 005a2ba04..41ed7a820 100644 --- a/mojaloop/requirements.yaml +++ b/mojaloop/requirements.yaml @@ -17,7 +17,7 @@ dependencies: repository: "file://../account-lookup-service" condition: account-lookup-service.enabled - name: quoting-service - version: 10.4.0 + version: 10.4.1 repository: "file://../quoting-service" condition: quoting-service.enabled - name: simulator diff --git a/quoting-service/Chart.yaml b/quoting-service/Chart.yaml index 41ecef4cd..60cf5c235 100644 --- a/quoting-service/Chart.yaml +++ b/quoting-service/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Quoting-Service Helm chart for Kubernetes name: quoting-service -version: 10.4.0 +version: 10.4.1 appVersion: "10.5.5" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png diff --git a/quoting-service/templates/config.yaml b/quoting-service/templates/config.yaml index 5cb49ec22..a1ed76449 100644 --- a/quoting-service/templates/config.yaml +++ b/quoting-service/templates/config.yaml @@ -11,7 +11,9 @@ metadata: data: default.json: {{ (tpl (.Files.Get "configs/default.json") . ) | quote }} {{- if .Values.rules }} - {{- if (typeIs "string" .Values.rules) }} + {{- if (typeIs "string" .Values.rules.template) }} + rules.json: {{ (tpl .Values.rules.template . ) }} + {{- else if (typeIs "string" .Values.rules) }} rules.json: {{ .Values.rules | quote }} {{- else }} rules.json: {{ .Values.rules | toPrettyJson | quote }} @@ -19,7 +21,7 @@ data: {{- else }} rules.json: "[]" {{- end }} - + {{- if .Values.sidecar.enabled }} --- apiVersion: v1