diff --git a/account-lookup-http-oracle-svc/values.yaml b/account-lookup-http-oracle-svc/values.yaml index 839f155..0746f38 100644 --- a/account-lookup-http-oracle-svc/values.yaml +++ b/account-lookup-http-oracle-svc/values.yaml @@ -46,8 +46,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -102,7 +102,6 @@ extraEnvs: {} # - name: KAFKA_AUDITS_TOPIC # value: audits - initContainers: | - name: wait-for-kafka image: solsson/kafka:2.8.1 @@ -120,4 +119,4 @@ initContainers: | echo Kafka ok!; env: - name: KAFKA_URL - value: kafka:9092 + value: '{{ .Values.env.kafka_url }}' diff --git a/account-lookup-svc/values.yaml b/account-lookup-svc/values.yaml index 95a1e92..08ebc33 100644 --- a/account-lookup-svc/values.yaml +++ b/account-lookup-svc/values.yaml @@ -1,6 +1,14 @@ # Default values for account-lookup-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 @@ -93,7 +101,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -101,7 +108,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_URL diff --git a/accounts-and-balances-builtin-ledger-grpc-svc/values.yaml b/accounts-and-balances-builtin-ledger-grpc-svc/values.yaml index 61dd1e9..d7c09da 100644 --- a/accounts-and-balances-builtin-ledger-grpc-svc/values.yaml +++ b/accounts-and-balances-builtin-ledger-grpc-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for accounts-and-balances-builtin-ledger-grpc-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -93,7 +100,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -103,9 +109,16 @@ env: redis_host: redis-master redis_port: 6379 - - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -135,7 +148,6 @@ extraEnvs: {} # - name: REDIS_PORT # value: "6379" - initContainers: | - name: wait-for-mongodb image: bitnami/mongodb:6.0.1 @@ -153,8 +165,15 @@ initContainers: | echo ====================; echo MongoDB ok!; env: - - name: MONGO_URL - value: mongodb://root:mongodb@mongodb:27017 + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} - name: wait-for-platform-configuration-svc image: curlimages/curl:8.3.0 diff --git a/accounts-and-balances-coa-grpc-svc/values.yaml b/accounts-and-balances-coa-grpc-svc/values.yaml index cce6786..17958cd 100644 --- a/accounts-and-balances-coa-grpc-svc/values.yaml +++ b/accounts-and-balances-coa-grpc-svc/values.yaml @@ -1,6 +1,14 @@ # Default values for accounts-and-balances-coa-grpc-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 @@ -92,7 +100,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 elasticsearch_url: http://elasticsearch.monitoring.svc.cluster.local:9200 auth_z_svc_baseurl: http://authorization-svc:3202 @@ -104,7 +111,16 @@ env: redis_port: 6379 builtin_ledger_svc_url: accounts-and-balances-builtin-ledger-grpc-svc:3350 -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC diff --git a/fspiop-api-svc/values.yaml b/fspiop-api-svc/values.yaml index 979c30b..b20bfdc 100644 --- a/fspiop-api-svc/values.yaml +++ b/fspiop-api-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for fspiop-api-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -47,14 +54,14 @@ ingress: cert-manager.io/cluster-issuer: letsencrypt nginx.ingress.kubernetes.io/whitelist-source-range: 0.0.0.0/0 hosts: - - host: fspiop-api.localhost - paths: - - path: / - pathType: ImplementationSpecific + - host: fspiop-api.localhost + paths: + - path: / + pathType: ImplementationSpecific tls: - - secretName: fspiop-api-tls - hosts: - - fspiop-api.localhost + - secretName: fspiop-api-tls + hosts: + - fspiop-api.localhost resources: {} # We usually recommend not to specify default resources and to leave this as a conscious @@ -96,7 +103,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 elasticsearch_url: http://elasticsearch.monitoring.svc.cluster.local:9200 auth_z_svc_baseurl: http://authorization-svc:3202 @@ -105,9 +111,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 - - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC diff --git a/participants-svc/values.yaml b/participants-svc/values.yaml index 3ea9b47..54c064b 100644 --- a/participants-svc/values.yaml +++ b/participants-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for participants-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -89,12 +96,10 @@ readinessProbe: initialDelaySeconds: 15 periodSeconds: 20 - env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 elasticsearch_url: http://elasticsearch.monitoring.svc.cluster.local:9200 auth_z_svc_baseurl: http://authorization-svc:3202 @@ -103,11 +108,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience account_and_balance_coa_svc: accounts-and-balances-coa-grpc-svc:3300 - - - - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -135,7 +145,6 @@ extraEnvs: {} # - name: ACCOUNTS_BALANCES_COA_SVC_URL # value: accounts-and-balances-coa-grpc-svc:3300 - initContainers: | - name: wait-for-platform-configuration-svc image: curlimages/curl:8.3.0 diff --git a/quoting-svc/values.yaml b/quoting-svc/values.yaml index 256e3b8..883d4d7 100644 --- a/quoting-svc/values.yaml +++ b/quoting-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for quoting-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -93,7 +100,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -101,8 +107,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC diff --git a/settlements-api-svc/values.yaml b/settlements-api-svc/values.yaml index 7321ed6..46c4789 100644 --- a/settlements-api-svc/values.yaml +++ b/settlements-api-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for settlements-api-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -93,7 +100,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -102,10 +108,16 @@ env: participants_svc_url: http://participants-svc:3010 account_and_balance_coa_svc: accounts-and-balances-coa-grpc-svc:3300 - - - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -129,8 +141,6 @@ extraEnvs: {} # - name: ACCOUNTS_BALANCES_COA_SVC_URL # value: accounts-and-balances-coa-grpc-svc:3300 - - initContainers: | - name: wait-for-platform-configuration-svc image: curlimages/curl:8.3.0 diff --git a/settlements-command-handler-svc/values.yaml b/settlements-command-handler-svc/values.yaml index c70ebc5..49d30f6 100644 --- a/settlements-command-handler-svc/values.yaml +++ b/settlements-command-handler-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for settlements-command-handler-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -78,12 +85,10 @@ tolerations: [] affinity: {} - env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -92,7 +97,16 @@ env: participants_svc_url: http://participants-svc:3010 account_and_balance_coa_svc: accounts-and-balances-coa-grpc-svc:3300 -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -116,7 +130,6 @@ extraEnvs: {} # - name: ACCOUNTS_BALANCES_COA_SVC_URL # value: accounts-and-balances-coa-grpc-svc:3300 - initContainers: | - name: wait-for-platform-configuration-svc image: curlimages/curl:8.3.0 diff --git a/settlements-event-handler-svc/values.yaml b/settlements-event-handler-svc/values.yaml index 1bc0fa8..774d5a0 100644 --- a/settlements-event-handler-svc/values.yaml +++ b/settlements-event-handler-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for settlements-event-handler-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -78,12 +85,10 @@ tolerations: [] affinity: {} - env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -91,7 +96,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 -# extraEnvs: +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC diff --git a/transfers-api-svc/values.yaml b/transfers-api-svc/values.yaml index 41adae6..a1003d6 100644 --- a/transfers-api-svc/values.yaml +++ b/transfers-api-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for transfers-api-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -93,7 +100,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -101,7 +107,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC diff --git a/transfers-command-handler-svc/values.yaml b/transfers-command-handler-svc/values.yaml index 3ed0aac..1ae34e8 100644 --- a/transfers-command-handler-svc/values.yaml +++ b/transfers-command-handler-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for transfers-command-handler-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -82,7 +89,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -91,7 +97,17 @@ env: participants_svc_url: http://participants-svc:3010 account_and_balance_coa_svc: accounts-and-balances-coa-grpc-svc:3300 settlements_svc_url: http://settlements-api-svc:3600 -extraEnvs: {} + +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -117,7 +133,6 @@ extraEnvs: {} # - name: SETTLEMENTS_SVC_URL # value: http://settlements-api-svc:3600 - initContainers: | - name: wait-for-settlements-api-svc image: curlimages/curl:8.3.0 diff --git a/transfers-event-handler-svc/values.yaml b/transfers-event-handler-svc/values.yaml index 6f0d1db..626bcb0 100644 --- a/transfers-event-handler-svc/values.yaml +++ b/transfers-event-handler-svc/values.yaml @@ -1,7 +1,14 @@ # Default values for transfers-event-handler-svc. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - +#general config params +config: + mongo_url: mongodb://root:mongodb@mongodb:27017 + # db_secret: + ### Example config for an existing secret + # mongo_url_secret: + # name: mongo-secret + # key: password replicaCount: 1 image: @@ -46,8 +53,8 @@ ingress: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local - paths: [] + - host: chart-example.local + paths: [] tls: [] # - secretName: chart-example-tls # hosts: @@ -82,7 +89,6 @@ env: kafka_url: kafka:9092 kafka_logs_topic: logs kafka_audits_topic: audits - mongo_url: mongodb://root:mongodb@mongodb:27017 platform_config_base_svc_url: http://platform-configuration-svc:3100 auth_z_svc_baseurl: http://authorization-svc:3202 auth_n_svc_baseurl: http://authentication-svc:3201 @@ -90,8 +96,16 @@ env: auth_n_token_audience: mojaloop.vnext.dev.default_audience participants_svc_url: http://participants-svc:3010 - -extraEnvs: {} +extraEnvs: + - name: mongo_url + {{- if .Values.config.mongo_url_secret }} + valueFrom: + secretKeyRef: + name: '{{ .Values.config.mongo_url_secret.name }}' + key: '{{ .Values.config.mongo_url_secret.key }}' + {{- else }} + value: {{ .Values.config.mongo_url }} + {{- end }} # - name: KAFKA_URL # value: kafka:9092 # - name: KAFKA_LOGS_TOPIC @@ -111,7 +125,6 @@ extraEnvs: {} # - name: PARTICIPANTS_SVC_URL # value: http://participants-svc:3010 - initContainers: | - name: wait-for-participants-svc image: curlimages/curl:8.3.0